ml_flask / Dockerfile
enot2t
ml_flask
c3084fa
Raw History Blame Contribute Delete
272 Bytes
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install gunicorn
RUN pip install flask
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"]