Spaces:
Runtime error
Runtime error
# Dockerfile, Image, Container | |
FROM python:3.8.10 | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
COPY api.py . | |
CMD ["uvicorn","--app-dir", "./src", "api:app", "--host", "0.0.0.0", "--port", "8888"] | |
#CMD python3 -m uvicorn --app-dir ./src api:app --host 0.0.0.0 --port 3001 | |