File size: 326 Bytes
25e5b62
 
 
 
9db3a52
25e5b62
 
 
 
a9a2fef
2836e1f
25e5b62
 
3390c2a
25e5b62
a4a481c
2a22627
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.11-slim

WORKDIR /code

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

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

COPY ./backend /code
COPY ./static /code/static
COPY ./main.py /code/main.py

EXPOSE 7860
WORKDIR /code


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