Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xorwns118 committed Sep 24, 2024
1 parent 59a1b9b commit d7b12a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ COPY ./build/libs/platform-0.0.1-SNAPSHOT.jar app.jar
COPY ./src/main/resources/.env /app/.env
EXPOSE 8080
ENV SPRING_PROFILES_ACTIVE=prod
ENTRYPOINT ["java", "-jar", "/app.jar", "--spring.config.import=optional:file:/app/.env"]
ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit d7b12a3

Please sign in to comment.