Skip to content

Commit 3dbc8e9

Browse files
committed
chore: production error i try to build jar before
1 parent 733baf4 commit 3dbc8e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ FROM eclipse-temurin:17-jdk-alpine
1010
WORKDIR /app
1111
COPY --from=build /app/target/*.jar habitflow-image.jar
1212
EXPOSE 8080
13-
ENTRYPOINT ["java", "-jar", "habitflow-image.jar"]
13+
ENTRYPOINT ["java", "-Dspring.profiles.active=prod", "-jar", "habitflow-image.jar"]

0 commit comments

Comments
 (0)