Skip to content

Commit

Permalink
Merge branch 'onfhir_2.13' of https://github.com/srdc/onfhir into onf…
Browse files Browse the repository at this point in the history
…hir_2.13
  • Loading branch information
Tuncay NAMLI committed Nov 1, 2022
2 parents d62c2c2 + c8977cc commit 70e88a8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions docker/Dockerfile-addJar
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM openjdk:11-jre-slim

ENV ONFHIR_HOME /usr/local/onfhir
RUN mkdir -p "$ONFHIR_HOME"
WORKDIR $ONFHIR_HOME

COPY ./onfhir-server-r4/target/onfhir-server-standalone.jar .
COPY ./docker/docker-entrypoint.sh .
RUN chmod +x docker-entrypoint.sh

ENTRYPOINT ["./docker-entrypoint.sh"]
File renamed without changes.
6 changes: 4 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Execute the following command from the project.root.directory (../)
# Execute one of the following commands from the project.root.directory (../)

docker build -f docker/Dockerfile-addJar -t srdc/onfhir:r4 .
docker build -f docker/Dockerfile-buildJar -t srdc/onfhir:r4 .

docker build -f docker/Dockerfile -t srdc/onfhir:r4 .

0 comments on commit 70e88a8

Please sign in to comment.