diff --git a/Dockerfile b/Dockerfile index d895e7d..5d7cfb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ RUN mvn clean package -DskipTests FROM eclipse-temurin:21-jre-alpine ## Arguments used with github secrets -ARG DATABASE_PRO -ARG DATABASE_TEST -ARG JWT_SECRET +ENV DATABASE_PRO=${DATABASE_PRO} +ENV DATABASE_TEST=${DATABASE_TEST} +ENV JWT_SECRET=${JWT_SECRET} ## work directory by default WORKDIR /alura-flix-api