ai-code-battle/bots/raider/Dockerfile
jedarden 53377d577f feat(bot): add Raider bot (Java) — hit-and-run harasser archetype
Implements a hit-and-run strategy that scouts for lone enemy bots,
attacks from flanking positions, then retreats after 1-2 engagement
turns to avoid reinforcements. Defends own core when under pressure.

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

20 lines
373 B
Docker

FROM eclipse-temurin:21-jdk-alpine AS builder
WORKDIR /app
COPY pom.xml ./
COPY src ./src
RUN apk add --no-cache maven && \
mvn clean package -DskipTests
FROM eclipse-temurin:21-jre-alpine
WORKDIR /app
COPY --from=builder /app/target/raider-bot-1.0.0.jar /app/raider-bot.jar
ENV BOT_PORT=8086
ENV BOT_SECRET=""
EXPOSE 8086
CMD ["java", "-jar", "raider-bot.jar"]