Spaces:
Sleeping
Sleeping
Commit ·
299d3ff
1
Parent(s): 26c14b9
Install git for HF build step
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -12,6 +12,10 @@ ENV PYTHONDONTWRITEBYTECODE=1
|
|
| 12 |
ENV PYTHONUNBUFFERED=1
|
| 13 |
ENV FRONTEND_BASE_URL=http://localhost:7860
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
COPY server/requirements.txt server/requirements.txt
|
| 16 |
RUN pip install --no-cache-dir -r server/requirements.txt \
|
| 17 |
&& python -m playwright install chromium --with-deps
|
|
|
|
| 12 |
ENV PYTHONUNBUFFERED=1
|
| 13 |
ENV FRONTEND_BASE_URL=http://localhost:7860
|
| 14 |
|
| 15 |
+
RUN apt-get update \
|
| 16 |
+
&& apt-get install -y --no-install-recommends git \
|
| 17 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 18 |
+
|
| 19 |
COPY server/requirements.txt server/requirements.txt
|
| 20 |
RUN pip install --no-cache-dir -r server/requirements.txt \
|
| 21 |
&& python -m playwright install chromium --with-deps
|