[#31] Config file is now copied into images
This commit is contained in:
parent
adbe6d1fb7
commit
0bd09db295
2 changed files with 1 additions and 1 deletions
|
|
@ -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
1
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" "$@"
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue