dgapiv2 / Dockerfile
Hayloo9838's picture
Update Dockerfile
f5eb9e8 verified
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"]