FROM python:3.9 | |
RUN useradd -m -u 1000 user | |
WORKDIR /code | |
RUN pip install fastapi apscheduler uvicorn git+https://github.com/bluet/proxybroker2.git | |
COPY --chown=user . . | |
RUN chmod 777 /code && chmod 777 /code/* | |
CMD python /code/app.py | |
FROM python:3.9 | |
RUN useradd -m -u 1000 user | |
WORKDIR /code | |
RUN pip install fastapi apscheduler uvicorn git+https://github.com/bluet/proxybroker2.git | |
COPY --chown=user . . | |
RUN chmod 777 /code && chmod 777 /code/* | |
CMD python /code/app.py | |