Spaces:
Runtime error
Runtime error
File size: 305 Bytes
ad78747 3e4df8e ad78747 3e4df8e ad78747 7b49435 9f0f61f ad78747 7b49435 1114f48 4814f8a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# Dockerfile, Image, Container
FROM python:3.8.10
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
WORKDIR /src
COPY . .
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]
#CMD python3 -m uvicorn --app-dir ./src api:app --host 0.0.0.0 --port 3001
|