flask-namedays/Dockerfile
Eriks Karls 72c0f8efe8 Docker
2021-11-09 14:11:50 +02:00

8 lines
294 B
Docker

FROM python:3.9-alpine
RUN pip install --no-cache-dir -U setuptools pip wheel && pip install --no-cache-dir Flask icalendar gunicorn
COPY . /app
WORKDIR /app
CMD ["gunicorn", "--workers=2", "--access-logfile", "-", "--log-level", "warning", "-b", "0.0.0.0:5000", "app:app"]
#CMD python app.py