Spaces:
Build error
Build error
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- server/Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -15,7 +15,7 @@ WORKDIR /app
|
|
| 15 |
COPY . /app
|
| 16 |
|
| 17 |
# Install dependencies
|
| 18 |
-
RUN pip install --no-cache-dir -r
|
| 19 |
|
| 20 |
|
| 21 |
# Copy only what's needed for this environment
|
|
|
|
| 15 |
COPY . /app
|
| 16 |
|
| 17 |
# Install dependencies
|
| 18 |
+
RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
|
| 19 |
|
| 20 |
|
| 21 |
# Copy only what's needed for this environment
|
server/Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@ ARG BASE_IMAGE=openenv-base:latest
|
|
| 11 |
FROM ${BASE_IMAGE}
|
| 12 |
|
| 13 |
# Install dependencies
|
| 14 |
-
RUN pip install --no-cache-dir -r
|
| 15 |
|
| 16 |
|
| 17 |
# Copy only what's needed for this environment
|
|
|
|
| 11 |
FROM ${BASE_IMAGE}
|
| 12 |
|
| 13 |
# Install dependencies
|
| 14 |
+
RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt
|
| 15 |
|
| 16 |
|
| 17 |
# Copy only what's needed for this environment
|