diff --git a/Dockerfile b/Dockerfile index c959e1c..8537bf0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ RUN mvn clean package -DskipTests FROM eclipse-temurin:21-jre-alpine WORKDIR /alura-flix-api -ARG DATABASE_PRO=mongodb+srv://alura-flix-admin:UxOM6SSAtQHpDeEd@alura-flix.z61opfc.mongodb.net/?retryWrites=true&w=majority -ARG DATABASE_TEST=mongodb+srv://laurosilveira:6Vos5cYJ9JfxidsQ@alura-flix-test.qixe2kd.mongodb.net/?retryWrites=true&w=majority -ARG JWT_SECRET=123456 +ARG DATABASE_PRO +ARG DATABASE_TEST +ARG JWT_SECRET COPY --from=build target/*.jar alura-flix-api.jar EXPOSE 8080