Files
colony/Dockerfile
T
2026-09-19 20:57:32 +02:00

19 lines
347 B
Docker

FROM python:3.14-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Runtime state lives in the working directory: state.json, storage/, logs/
VOLUME ["/app/storage", "/app/logs"]
EXPOSE 65334/tcp 28149/udp
CMD ["python", "main.py"]