Skip to content

Commit

Permalink
#111 Added changes to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
loreV committed Dec 28, 2021
1 parent 7bdf393 commit d757034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM openjdk:8u201-jdk-alpine3.9

WORKDIR ./home

COPY ./backend/target/backend-1.0.jar .
COPY ./backend/target/backend-1.1.jar .
COPY ./docker/application.properties .

RUN mkdir -p ./deployment ./tmp ./logs

CMD ["java", "-jar", "./backend-1.0.jar", "--spring.config.location=file:///home/application.properties"]
CMD ["java", "-jar", "./backend-1.1.jar", "--spring.config.location=file:///home/application.properties"]

EXPOSE 8990

0 comments on commit d757034

Please sign in to comment.