File size: 228 Bytes
f56e71d
 
 
 
 
 
 
 
 
 
 
74dd7d1
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.11-slim

WORKDIR /code

COPY ./requirements.txt /code/requirements.txt
COPY . /code

RUN pip install --no-cache-dir --upgrade -r requirements.txt

EXPOSE 7860

CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]