16 lines
231 B
Docker
16 lines
231 B
Docker
|
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" ]
|