a651f747ac
It is now up to the user to install these (or other) for production deployment. More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
10 lines
192 B
Docker
10 lines
192 B
Docker
FROM python:3.8-slim
|
|
|
|
WORKDIR /app
|
|
COPY requirements.txt /app/
|
|
RUN pip install --no-cache-dir -q -r requirements.txt
|
|
RUN pip install --no-cache-dir -q gunicorn gevent
|
|
COPY . /app
|
|
|
|
EXPOSE 5000
|