mailApp/Dockerfile

11 lines
160 B
Docker
Raw Normal View History

FROM rust:1.56
WORKDIR /app
COPY . .
ENV SQLX_OFFLINE true
RUN CARGO BUILD --release
ENV APP_ENVIRONMENT production
ENTRYPOINT ["./target/release/mail_app"]