[dockerfile] add gunicorn/uvicorn
This commit is contained in:
parent
339c910c86
commit
0643af5cca
|
@ -2,6 +2,7 @@
|
||||||
FROM docker.io/python:3.8.12-slim-bullseye
|
FROM docker.io/python:3.8.12-slim-bullseye
|
||||||
COPY . /halfapi
|
COPY . /halfapi
|
||||||
WORKDIR /halfapi
|
WORKDIR /halfapi
|
||||||
|
RUN pip install gunicorn uvicorn
|
||||||
RUN pip install .
|
RUN pip install .
|
||||||
CMD gunicorn halfapi.app
|
CMD gunicorn halfapi.app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue