ai-code-battle/bots/economist/Dockerfile
jedarden dce34f97b6 fix(economist): use bot positions as keys instead of non-existent IDs
- Fixed contest_assignments to use bot positions as keys since bots only have position and owner (no ID field)
- Fixed tuple conversions for energy and walls to properly convert elements to int
- Added curl to Dockerfile for health check support
- Updated docker-compose.bots.yml for economist bot

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-17 02:50:49 -04:00

15 lines
192 B
Docker

FROM python:3.12-alpine
WORKDIR /app
# Install curl for health checks
RUN apk add --no-cache curl
COPY bot.py .
ENV BOT_PORT=8081
ENV BOT_SECRET=""
EXPOSE 8081
CMD ["python3", "bot.py"]