🔧 Test docker compose

This commit is contained in:
kimjaeyeol
2021-10-26 17:08:14 +09:00
parent 2d192a7c37
commit ee31138c58
24 changed files with 71 additions and 70 deletions

View File

@@ -9,5 +9,5 @@ WORKDIR $APP_HOME
COPY build/libs/*.jar config.jar
# application port
EXPOSE 8888
# 실행 (ARG 아니고 ENV 값이다)
CMD ["java", "-Dspring.profiles.active=${profile:prod}", "-jar", "config.jar"]
# 실행
CMD ["java", "-Dspring.profiles.active=${profile:native}", "-jar", "config.jar"]