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