Update server to work with the latest version :3

This commit is contained in:
magmaus3 2023-07-06 17:36:55 +02:00
parent d73c7e44d5
commit a7b9b5b87f
Signed by: magmaus3
GPG key ID: 966755D3F4A9B251
6 changed files with 186 additions and 46 deletions

View file

@ -1,4 +1,7 @@
FROM python:3.11
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
WORKDIR /app
@ -6,4 +9,4 @@ COPY . .
RUN --mount=type=cache,target=/tmp/pip pip install . --cache-dir /tmp/pip
CMD python3 -m customiwmserver
CMD python3 -m uvicorn customiwmserver.main:app --host 0.0.0.0 --port 8001 --reload