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:
autocommit 2026-05-26 15:56:23 -07:00
parent 4c1b03c9af
commit 1aea5ec579

View file

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