Skip to content

Commit

Permalink
Add git to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
WhoisDonlee committed Apr 19, 2024
1 parent b80e01c commit 33ec042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.10.9-slim as builder

RUN apt-get update && \
apt-get install gcc g++ -y && \
apt-get install git gcc g++ -y && \
apt-get clean

COPY requirements/requirements.txt /app/requirements.txt
Expand All @@ -19,4 +19,4 @@ COPY --from=builder /app/ /app/
WORKDIR /app
ENV PATH=/root/.local/bin:$PATH

ENTRYPOINT uvicorn main:app --host 0.0.0.0 --port 8080
ENTRYPOINT uvicorn main:app --host 0.0.0.0 --port 8080

0 comments on commit 33ec042

Please sign in to comment.