Skip to content

Commit

Permalink
[YS-35] chore: 누락된 Dockerfile 추가 (#9)
Browse files Browse the repository at this point in the history
* chore: add cd script

* chore: add docker-compose file

* chore: add docker file

* chore: rename jar file
  • Loading branch information
Ji-soo708 authored Dec 28, 2024
1 parent 9ebd7eb commit 013c7a3
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
@@ -0,0 +1,5 @@
FROM adoptopenjdk/openjdk17:alpine-jre
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} dobby.jar
ENV SPRING_PROFILES_ACTIVE=dev
ENTRYPOINT ["java","-jar", "-Dspring.profiles.active=dev", "/dobby.jar"]

0 comments on commit 013c7a3

Please sign in to comment.