Gf2ExamplesApi/Dockerfile

9 lines
216 B
Docker
Raw Permalink Normal View History

2020-07-20 07:01:58 +00:00
FROM python:alpine
RUN pip install --no-cache-dir flask gunicorn
COPY . /api
WORKDIR /api
CMD ["gunicorn", "--bind", "0.0.0.0:80", "-w", "4", "--timeout", "1800", "--access-logfile", "-", "--preload", "wsgi:app"]