c9e564d48f
Update mail_app to also have different forms of configuration outside of a single base yaml file. Allows local or production configurations to be established.
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"] |