Skip to content

Commit

Permalink
chore: Dockerfile 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
Wo-ogie committed Feb 28, 2024
1 parent 6de2225 commit e1ed8a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM openjdk:17-jdk-slim
WORKDIR /spring
ARG JAR_FILE=/build/libs/hertz-*.jar
COPY ${JAR_FILE} /spring/app.jar
EXPOSE 8080
ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-Xms512m", "-Xmx2048m", "-jar", "/spring/app.jar"]

0 comments on commit e1ed8a5

Please sign in to comment.