FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11 | |
COPY requirements.txt /app/requirements.txt | |
RUN pip install --no-cache-dir -r /app/requirements.txt | |
COPY app.py /app/app.py | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.11 | |
COPY requirements.txt /app/requirements.txt | |
RUN pip install --no-cache-dir -r /app/requirements.txt | |
COPY app.py /app/app.py | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |