Fixes + docker
Build and Push Docker Image / build-and-push (push) Successful in 28s

This commit is contained in:
ciomek committed 2026-09-19 20:57:32 +02:00
1 parent 01f4c13954
commit 1543a39ee4
22 files changed
+179 -300

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
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"]