From 0bd09db295b96ec2dcec23fc92caf25353697f5a Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sat, 17 Apr 2021 14:19:53 +0200 Subject: [PATCH] [#31] Config file is now copied into images --- docker/Dockerfile.dev | 1 + fejctl | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 28004ac..ea63e1e 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -4,6 +4,7 @@ FROM chewingbever/fej-builder:latest ENV RUST_BACKTRACE 1 COPY --chown=builder:builder ./docker/entrypoint_dev.sh /entrypoint.sh +COPY --chown=builder:builder ./Rocket.toml /app/Rocket.toml ENTRYPOINT ["/entrypoint.sh"] CMD ["run", "--bin", "server"] diff --git a/fejctl b/fejctl index 688395c..879419e 100755 --- a/fejctl +++ b/fejctl @@ -65,7 +65,6 @@ function run_image() { --network fej \ -v 'fej_build-cache:/app/target' \ -v 'fej_registry-cache:/app/.cargo/registry' \ - -v "$PWD/Rocket.toml:/app/Rocket.toml:ro" \ "$image:dev" "$@" }