central.py

This commit is contained in:
Danil Kolesnikov
2025-02-12 23:37:08 +03:00
parent fdf3e8ff93
commit dae81eaebe
3 changed files with 53 additions and 0 deletions

9
central.Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.8-slim
EXPOSE 80
WORKDIR /app
RUN pip install --no-cache-dir websockets asyncudp
COPY central.py /app/
STOPSIGNAL SIGINT
ENTRYPOINT ["python", "-u", "central.py"]