[#19] Fixed api not working from outside container
parent
98faade91f
commit
760e9fa584
|
@ -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
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
FROM chewingbever/fej-builder:latest
|
||||
|
||||
ENV RUST_BACKTRACE 1
|
||||
ENV ROCKET_LOG debug
|
||||
|
||||
ENTRYPOINT ["cargo"]
|
||||
CMD ["run"]
|
||||
|
|
Loading…
Reference in New Issue