From 56df39b5848713725b1edbcd0eff30162f5184ca Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Tue, 27 Feb 2024 19:15:36 +0100 Subject: [PATCH] [fix] wrong file --- backend/Dockerfile | 1 + backend/compose.yaml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index bcf424a..963bef3 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,5 @@ FROM eclipse-temurin:21-jdk-alpine VOLUME /tmp +ENV SPRING_PROFILES_ACTIVE=prod COPY build/libs/backend-0.0.1-SNAPSHOT.jar /app.jar ENTRYPOINT ["java", "-jar", "/app.jar"] diff --git a/backend/compose.yaml b/backend/compose.yaml index 654ebad..5257bdf 100644 --- a/backend/compose.yaml +++ b/backend/compose.yaml @@ -5,6 +5,5 @@ services: - 'POSTGRES_DB=clyde' - 'POSTGRES_USER=devel' - 'POSTGRES_PASSWORD=devel' - - 'SPRING_PROFILES_ACTIVE=prod' ports: - '5432:5432'