Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -4,11 +4,11 @@ FROM python:3.10
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
# Set the
|
| 8 |
-
|
| 9 |
|
| 10 |
# Install build dependencies required for fastbpe
|
| 11 |
-
RUN apt-get update && apt-get
|
| 12 |
|
| 13 |
# Copy the requirements file into the container
|
| 14 |
COPY requirements.txt .
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Set the cache directory for Hugging Face to a writable location
|
| 8 |
+
ENV HF_HOME /app/.cache/huggingface
|
| 9 |
|
| 10 |
# Install build dependencies required for fastbpe
|
| 11 |
+
RUN apt-get update && apt-get upgrade
|
| 12 |
|
| 13 |
# Copy the requirements file into the container
|
| 14 |
COPY requirements.txt .
|