Skip to content

Commit

Permalink
Fix : docker 관련 파일 수정
Browse files Browse the repository at this point in the history
- Dockerfile에서 .jar 파일 복사코드 추가
- docker-compose 이미지 파일 명시
  • Loading branch information
bstaran committed Nov 10, 2023
1 parent c079fca commit 83cee6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ ENV LANG C.UTF-8
ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin

COPY back-0.0.1-SNAPSHOT.jar /app/

ENTRYPOINT ["java", "-jar", "/app/da-it-gym-0.0.1-SNAPSHOT.jar"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "3.8"
services:
app:
image: ${DOCKER_IMAGE_NAME}
image: "an622911/ggg:latest"
ports:
- "80:8080"

0 comments on commit 83cee6a

Please sign in to comment.