ai-code-battle/bots/assassin/Dockerfile
jedarden f11d00a177 feat(bot): add Assassin bot (Rust) — decapitation archetype
All units rush the nearest enemy core via BFS, ignoring enemy units
and economy. No perimeter defense — full commitment to core destruction.
Targets persist across turns for consistent pathing.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 16:55:33 -04:00

21 lines
315 B
Docker

# Build stage
FROM rust:1.85-alpine AS builder
WORKDIR /app
COPY Cargo.toml ./
COPY src ./src
RUN cargo build --release
# Runtime stage
FROM alpine:3.21
WORKDIR /app
COPY --from=builder /app/target/release/assassin-bot /app/assassin-bot
ENV BOT_PORT=8082
ENV BOT_SECRET=""
EXPOSE 8082
CMD ["./assassin-bot"]