Skip to content

Commit

Permalink
fix: typo on docker script
Browse files Browse the repository at this point in the history
  • Loading branch information
Grantzile committed Jan 13, 2025
1 parent 06829ac commit 2bf8190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ jobs:
docker build -t myapp:1.0 -f deploy-Dockerfile .
echo "Starting containers..."
docker-compose up -d myapp
docker compose up -d myapp
2 changes: 1 addition & 1 deletion deploy-Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM openjdk:17

# 가장 최신의 JAR 파일 하나만 있음, app.jar로 복사
COPY *.jar /app.jar
COPY ~/app/build/libs/*.jar /app.jar

EXPOSE 8080
ENTRYPOINT ["java", "-jar", "/app.jar"]

0 comments on commit 2bf8190

Please sign in to comment.