File size: 323 Bytes
886572e
 
bb617e1
886572e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.13.0

WORKDIR /code

# Install Poetry
RUN pip install poetry

# Copy your project files
COPY pyproject.toml poetry.lock ./

# Install project dependencies
RUN poetry install --no-interaction --no-ansi

COPY . .

EXPOSE 7860

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