From 33ad30a46a83ba5a7e4cc375c8547b1509c9ffcc Mon Sep 17 00:00:00 2001 From: Lauro Correia Silveira Date: Thu, 16 Nov 2023 17:24:28 +0100 Subject: [PATCH] Fix erro JWT_SECRET to deploy on Render --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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