File size: 219 Bytes
fd297c4
 
 
 
 
 
 
 
6dce24d
fd297c4
 
 
 
 
6dce24d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11

WORKDIR /code

USER root

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

RUN pip install -r requirements.txt

COPY . /code

USER user

CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]