fix: Add git to Dockerfile
This commit is contained in:
committed by
Dhanush R
parent
a458b9c2f1
commit
f8900be6b3
@@ -12,6 +12,10 @@ RUN npm run build
|
|||||||
FROM python:3.10-slim
|
FROM python:3.10-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
# Install git
|
||||||
|
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY src/api/requirements.txt requirements.txt
|
COPY src/api/requirements.txt requirements.txt
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
COPY --from=0 /build/build /app/build
|
COPY --from=0 /build/build /app/build
|
||||||
|
|||||||
Reference in New Issue
Block a user