test-flask-deploy / Dockerfile
ParthCodes's picture
Update Dockerfile
1304ffe verified
raw
history blame
207 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY . /code
CMD ["gunicorn", "main:app", "-b", "0.0.0.0:7860"]