FROM python:3.10.13 | |
WORKDIR / | |
RUN pip install -r requirements.txt | |
RUN useradd -m -u 1000 user | |
USER user | |
CMD ["fastapi", "run", "app/main.py", "--port", "80"] | |
FROM python:3.10.13 | |
WORKDIR / | |
RUN pip install -r requirements.txt | |
RUN useradd -m -u 1000 user | |
USER user | |
CMD ["fastapi", "run", "app/main.py", "--port", "80"] | |