FROM python:3.11 COPY . . WORKDIR / RUN pip install --no-cache-dir --upgrade -r /requirements.txt RUN useradd -m -u 1000 user CMD ["fastapi", "run", "api.py", "--host", "0.0.0.0", "--port", "7860"]