chore(docker-tools/docker): 🔧 Update Dockerfile.mc-ai to use a newer base image version and adjust build dependencies for improved compatibility
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
4c1b03c9af
commit
1aea5ec579
1 changed files with 5 additions and 0 deletions
|
|
@ -42,6 +42,11 @@ RUN apt-get update \
|
|||
# Rust build.
|
||||
WORKDIR /build
|
||||
COPY src/simulator ./src/simulator
|
||||
# Several mc-* crates `include_str!("../../../../../public/...")` at compile
|
||||
# time (mc-comms/config.rs, mc-trade/rules.rs, mc-score/lib.rs, mc-ecology
|
||||
# generation.rs, etc.) — the JSON game pack + resources tree must be present
|
||||
# during the cargo build, not just at runtime.
|
||||
COPY public ./public
|
||||
|
||||
# BuildKit cache mounts persist cargo registry + target dir across image
|
||||
# rebuilds, so the second build of any SHA reuses everything that didn't
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue