Update server to work with the latest version :3
This commit is contained in:
parent
d73c7e44d5
commit
a7b9b5b87f
6 changed files with 186 additions and 46 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue