[dockerfile] install git

This commit is contained in:
Maxime Alves LIRMM@home 2021-10-12 18:16:16 +02:00
parent 0643af5cca
commit 94e09a546b
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 apt-get update > /dev/null && apt-get -y install git > /dev/null
RUN pip install gunicorn uvicorn RUN pip install gunicorn uvicorn
RUN pip install . RUN pip install .
CMD gunicorn halfapi.app CMD gunicorn halfapi.app