App / Dockerfile
Yjhhh's picture
Create Dockerfile
61e4bb6 verified
raw
history blame
193 Bytes
FROM python:3.9
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]