[#31] Config file is now copied into images
parent
adbe6d1fb7
commit
0bd09db295
|
@ -4,6 +4,7 @@ FROM chewingbever/fej-builder:latest
|
||||||
ENV RUST_BACKTRACE 1
|
ENV RUST_BACKTRACE 1
|
||||||
|
|
||||||
COPY --chown=builder:builder ./docker/entrypoint_dev.sh /entrypoint.sh
|
COPY --chown=builder:builder ./docker/entrypoint_dev.sh /entrypoint.sh
|
||||||
|
COPY --chown=builder:builder ./Rocket.toml /app/Rocket.toml
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
CMD ["run", "--bin", "server"]
|
CMD ["run", "--bin", "server"]
|
||||||
|
|
1
fejctl
1
fejctl
|
@ -65,7 +65,6 @@ function run_image() {
|
||||||
--network fej \
|
--network fej \
|
||||||
-v 'fej_build-cache:/app/target' \
|
-v 'fej_build-cache:/app/target' \
|
||||||
-v 'fej_registry-cache:/app/.cargo/registry' \
|
-v 'fej_registry-cache:/app/.cargo/registry' \
|
||||||
-v "$PWD/Rocket.toml:/app/Rocket.toml:ro" \
|
|
||||||
"$image:dev" "$@"
|
"$image:dev" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue