Run Dockerfile Python script as non-root user
I have Dockerfiles with some script, what should I do to run the script as non-root user? FROM python:3.9 WORKDIR / COPY . / RUN pip install --no-cache-dir --upgrade -r /requirements.txt CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "80"]