Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit 05eea3f

Browse files
committed
Merge branch 'master' into new_endpoints
2 parents 0523e37 + 71e128a commit 05eea3f

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

docker/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM openjdk:8
2+
3+
RUN git clone https://github.com/codeforberlin/opacapi
4+
RUN git clone https://github.com/opacapp/opacapp-config-files
5+
6+
RUN cd opacapi
7+
RUN /opacapi/gradlew build
8+
9+
COPY entrypoint.sh /entrypoint.sh
10+
11+
ENTRYPOINT ["sh", "/entrypoint.sh"]
12+
CMD ["sh", "gradlew", "run"]

docker/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Usage
2+
=====
3+
4+
```bash
5+
docker build . -t opacapi
6+
docker run -p 8080:8080 opacapi
7+
```

docker/entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
cd /opacapi
3+
exec "$@"

0 commit comments

Comments
 (0)