test-flask-deploy / Dockerfile
ParthCodes's picture
Update Dockerfile
4bd6eec verified
raw
history blame contribute delete
213 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --upgrade -r requirements.txt
COPY . /code
CMD ["gunicorn", "main:app", "-b", "0.0.0.0:7860", "--timeout", "240"]