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"]