diff --git a/docker/Dockerfile.builder b/docker/Dockerfile.builder index 62b986e..b968c5b 100644 --- a/docker/Dockerfile.builder +++ b/docker/Dockerfile.builder @@ -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 diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 8ebeab3..9205fd4 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -1,7 +1,6 @@ FROM chewingbever/fej-builder:latest ENV RUST_BACKTRACE 1 -ENV ROCKET_LOG debug ENTRYPOINT ["cargo"] CMD ["run"]