Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
xorwns118 authored Sep 24, 2024
1 parent 59d2183 commit 38eb35c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM openjdk:17-jdk-slim-buster

RUN mkdir -p /app

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"]

0 comments on commit 38eb35c

Please sign in to comment.