Added root path for webcontrol API

This commit is contained in:
Ashish D'Souza 2024-03-24 03:52:37 -05:00
parent be3bd11632
commit 59ee8e64b7
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM python:3.11
WORKDIR /code WORKDIR /code
ENTRYPOINT ["uvicorn", "webcontrol:api", "--host", "0.0.0.0", "--port", "80"] ENTRYPOINT ["uvicorn", "webcontrol:api", "--host", "0.0.0.0", "--port", "80"]
CMD ["--log-level", "warning"] CMD ["--root-path", "/webcontrol", "--log-level", "warning"]
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip