frigate/webcontrol/Dockerfile

13 lines
277 B
Docker

FROM python:3.11
WORKDIR /code
ENTRYPOINT ["uvicorn", "webcontrol:api", "--host", "0.0.0.0", "--port", "80"]
CMD ["--root-path", "/webcontrol", "--log-level", "warning"]
RUN pip3 install --upgrade pip
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY src .