8 lines
294 B
Docker
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
|