Newer
Older
RUN apk add gcc libc-dev libffi-dev g++ postgresql-dev bash curl
RUN pip install --no-cache-dir -r requirements.txt
# Use this CMD for running Flask in Debug mode
# CMD [ "flask", "run" ]
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:5000", "--workers", "4", "--reload", "--capture-output", "--enable-stdio-inheritance", "--log-level", "DEBUG"]