[#31] Config file is now copied into images

master^2
Jef Roosens 2021-04-17 14:19:53 +02:00
parent adbe6d1fb7
commit 0bd09db295
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
2 changed files with 1 additions and 1 deletions

View File

@ -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"]

1
fejctl
View File

@ -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" "$@"
}