intial dockerization
This commit is contained in:
15
web/Dockerfile
Normal file
15
web/Dockerfile
Normal 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" ]
|
Reference in New Issue
Block a user