Skip to content

Commit 4b57ab6

Browse files
committed
[YS-35] chore: 누락된 Dockerfile 추가 (#9)
* chore: add cd script * chore: add docker-compose file * chore: add docker file * chore: rename jar file
1 parent f2f4ba0 commit 4b57ab6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM adoptopenjdk/openjdk17:alpine-jre
2+
ARG JAR_FILE=build/libs/*.jar
3+
COPY ${JAR_FILE} dobby.jar
4+
ENV SPRING_PROFILES_ACTIVE=dev
5+
ENTRYPOINT ["java","-jar", "-Dspring.profiles.active=dev", "/dobby.jar"]

0 commit comments

Comments
 (0)