Skip to content

Commit

Permalink
Fix: Dockerfile 루트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
deveunhwa committed Nov 5, 2024
1 parent f7cb32d commit 728aca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ FROM openjdk:17-jdk-alpine
WORKDIR /app

# Copy the built jar file
COPY build/libs/*.jar app.jar
COPY build/libs/*.jar /app.jar

# Set the entry point to run the application
EXPOSE 8080
CMD ["java", "-jar", "-Dspring.profiles.active=prod", "/app.jar"]
CMD ["java", "-jar", "-Dspring.profiles.active=prod", "/app.jar"]

0 comments on commit 728aca8

Please sign in to comment.