- 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>
15 lines
192 B
Docker
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"]
|