b279578b51
also added in another ENV to the dockerfile
11 lines
160 B
Docker
11 lines
160 B
Docker
FROM rust:1.56
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
ENV SQLX_OFFLINE true
|
|
RUN cargo build --release
|
|
|
|
ENV APP_ENVIRONMENT production
|
|
|
|
ENTRYPOINT ["./target/release/mail_app"] |