[#19] Fixed api not working from outside container

master
Jef Roosens 2021-04-13 21:56:52 +02:00
parent 98faade91f
commit 760e9fa584
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,8 @@ FROM alpine:latest AS builder
ENV PATH "$PATH:/root/.cargo/bin"
# Needed for proper compiling of openssl-dev
ENV RUSTFLAGS "-C target-feature=-crt-static"
# Otherwise, the debug build can't be used from the container
ENV ROCKET_ADDRESS "0.0.0.0"
WORKDIR /usr/src/app

View File

@ -1,7 +1,6 @@
FROM chewingbever/fej-builder:latest
ENV RUST_BACKTRACE 1
ENV ROCKET_LOG debug
ENTRYPOINT ["cargo"]
CMD ["run"]