[dockerfile] install git
This commit is contained in:
parent
0643af5cca
commit
94e09a546b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue