Removing default env args from dockerfile

This commit is contained in:
Fionera 2020-08-02 14:31:48 +02:00
parent b512674da9
commit 3c05a725c2
1 changed files with 0 additions and 5 deletions

View File

@ -17,11 +17,6 @@ RUN cargo install --path . --features vendored
FROM alpine FROM alpine
ENV DATABASE_URL "postresql://localhost"
ENV SERVER_URL "http://localhost:8000"
ENV FILES_DIR "./files"
ENV UPLOAD_MAX_BYTES "8388608"
ENV BIND_ADDRESS "0.0.0.0:8000"
ENV RUST_BACKTRACE "1" ENV RUST_BACKTRACE "1"
COPY --from=build /home/rust/.cargo/bin/datatrash . COPY --from=build /home/rust/.cargo/bin/datatrash .