mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-03-13 22:52:40 +00:00
Merge 0855b0ec68
into 970987c5f7
This commit is contained in:
commit
9ffe726cde
1 changed files with 2 additions and 2 deletions
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue