FROM python:3.9.4 RUN useradd -m -u 1000 haydpw USER haydpw ENV PATH="/home/user/.local/bin:$PATH" COPY --chown=user . . WORKDIR / RUN pip install --no-chace-dir --upgrade -r requirements.txt CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]