merge from modify/main

This commit is contained in:
yuuki
2023-10-05 14:47:38 +00:00
parent e9721f3415
commit 571d4093e0
7 changed files with 264 additions and 15 deletions

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM python:latest
COPY . /app
WORKDIR /app
RUN find wheels -name '*.whl' -print0 | xargs -0 pip install
RUN sed -i 's/\r$//' wait-for-it.sh
CMD ["./wait-for-it.sh","-t","300","mongo:27017","--","python","app.py","34801","-b","0.0.0.0"]