testeFlask / Dockerfile
Herick1's picture
Update Dockerfile
88b06ca verified
raw
history blame contribute delete
207 Bytes
FROM python:3.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860"]