intial dockerization

This commit is contained in:
2022-12-17 01:52:19 +00:00
parent 0e2aef1941
commit abdcd45057
10 changed files with 84 additions and 7 deletions

15
web/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3
ENV PYTHONUNBUFFERED=value
WORKDIR /usr/src/app
COPY web/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY web/src .
ADD common ./common
CMD [ "gunicorn", "-b 0.0.0.0:80", "app:app" ]