Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -7,6 +7,11 @@ WORKDIR /app
|
|
| 7 |
COPY . /app
|
| 8 |
|
| 9 |
# Install dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
RUN pip install --upgrade pip
|
| 11 |
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
| 12 |
RUN pip install cut_cross_entropy \
|
|
|
|
| 7 |
COPY . /app
|
| 8 |
|
| 9 |
# Install dependencies
|
| 10 |
+
RUN apt-get update && apt-get install -y \
|
| 11 |
+
gcc g++ make build-essential \
|
| 12 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
+
|
| 14 |
+
|
| 15 |
RUN pip install --upgrade pip
|
| 16 |
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
| 17 |
RUN pip install cut_cross_entropy \
|