File size: 251 Bytes
53540ce
 
 
 
 
 
 
 
f5eb9e8
 
53540ce
f5eb9e8
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.10

WORKDIR /code

COPY requirements.txt .

RUN pip install --upgrade pip && pip install -r requirements.txt

# 👇 This is where you messed up before
COPY app.py /code/

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