renderapi / Dockerfile
sam12345324's picture
Update Dockerfile
25ccafa verified
raw
history blame contribute delete
219 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]