Spaces:
Sleeping
Sleeping
DasbootU9607 commited on
Commit ·
838da3c
1
Parent(s): f4bdc38
Install git in runtime image
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -27,6 +27,10 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
| 27 |
|
| 28 |
WORKDIR /app
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
RUN useradd -m -u 1000 appuser
|
| 31 |
|
| 32 |
COPY requirements.txt ./
|
|
|
|
| 27 |
|
| 28 |
WORKDIR /app
|
| 29 |
|
| 30 |
+
RUN apt-get update && \
|
| 31 |
+
apt-get install -y --no-install-recommends git && \
|
| 32 |
+
rm -rf /var/lib/apt/lists/*
|
| 33 |
+
|
| 34 |
RUN useradd -m -u 1000 appuser
|
| 35 |
|
| 36 |
COPY requirements.txt ./
|