FROM python:3.9-alpine RUN pip install pipenv && pip install gunicorn==20.1.0 eventlet==0.30.2 WORKDIR /app COPY . /app RUN pipenv install --system CMD ["gunicorn", "-k", "eventlet", "-w", "1", "-b", "0.0.0.0:5000", "app:app"]