Fix docker things

This commit is contained in:
yuuki
2023-11-19 04:42:17 +00:00
parent 3019183af1
commit 795cb5a3d5
5 changed files with 13 additions and 5 deletions

6
server/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM python:latest
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV PYTHONUNBUFFERED 1
CMD ["python","server.py","34802","-b","0.0.0.0"]

1
server/requirements.txt Normal file
View File

@@ -0,0 +1 @@
websockets==9.1