Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -2,9 +2,11 @@ FROM python:3.9-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
# Install system dependencies for torch and
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
libgomp1 \
|
|
|
|
|
|
|
| 8 |
&& rm -rf /var/lib/apt/lists/*
|
| 9 |
|
| 10 |
# Install Python dependencies
|
|
|
|
| 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 \
|
| 9 |
+
g++ \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Install Python dependencies
|