Files
BellScheduler/Dockerfile
William Peebles a441b4612a
All checks were successful
continuous-integration/drone/push Build is passing
implement gunicorn for prod WSGI server
2022-11-30 01:09:22 -05:00

6 lines
175 B
Docker

FROM python:3.11.0-alpine3.16
COPY ./app /app
WORKDIR /app
RUN pip3 install -r requirements.txt
ENV FLASK_APP=app.py
CMD ["gunicorn", "-b", "0.0.0.0:80", "-w", "4", "app:app"]