Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -2,7 +2,7 @@ FROM python:3.9-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
# Install system dependencies
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
libgomp1 \
|
| 8 |
gcc \
|
|
@@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 11 |
|
| 12 |
# Install Python dependencies
|
| 13 |
COPY requirements.txt .
|
| 14 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# Copy application files
|
| 17 |
COPY . .
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Install system dependencies for torch, matplotlib, and transformers
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
libgomp1 \
|
| 8 |
gcc \
|
|
|
|
| 11 |
|
| 12 |
# Install Python dependencies
|
| 13 |
COPY requirements.txt .
|
| 14 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
# Copy application files
|
| 17 |
COPY . .
|