Spaces:
Running
Running
FROM python:3.10.13 | |
COPY . . | |
WORKDIR / | |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt | |
RUN useradd -m -u 1000 user | |
USER user | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |