Fixes + docker
This commit is contained in:
1 parent
34aa68e987
commit
c0992fe461
22 files changed
+179
-300
No files matched your search
+18
@@ -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"]
|
||||
Reference in new issue
Block a user