[dockerfile] add gunicorn/uvicorn

This commit is contained in:
Maxime Alves LIRMM@home 2021-10-12 18:08:07 +02:00
parent 339c910c86
commit 0643af5cca
1 changed files with 1 additions and 0 deletions

View File

@ -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