From 0855b0ec6893b6e360fbcb2d143f0563e3194cbb Mon Sep 17 00:00:00 2001 From: Jacob Forsell Date: Fri, 24 Jan 2025 11:16:01 +0100 Subject: [PATCH] updated env instruction syntax --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 04d851b..2bc501b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ COPY --from=planner /app/recipe.json recipe.json # Build our project dependencies, not our application! RUN cargo chef cook --release --recipe-path recipe.json COPY . . -ENV SQLX_OFFLINE true +ENV SQLX_OFFLINE=true # Build our project RUN cargo build --release --bin zero2prod @@ -26,5 +26,5 @@ RUN apt-get update -y \ && rm -rf /var/lib/apt/lists/* COPY --from=builder /app/target/release/zero2prod zero2prod COPY configuration configuration -ENV APP_ENVIRONMENT production +ENV APP_ENVIRONMENT=production ENTRYPOINT ["./zero2prod"]