Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -18,10 +18,10 @@ RUN apt-get update && apt-get install -y \
|
|
| 18 |
WORKDIR /app
|
| 19 |
|
| 20 |
# Create cache directory
|
| 21 |
-
RUN mkdir -p /
|
| 22 |
|
| 23 |
# Set the cache environment variable
|
| 24 |
-
ENV TRANSFORMERS_CACHE=/
|
| 25 |
|
| 26 |
# Copy the current directory contents into the container at /app
|
| 27 |
COPY . /app
|
|
|
|
| 18 |
WORKDIR /app
|
| 19 |
|
| 20 |
# Create cache directory
|
| 21 |
+
RUN mkdir -p /cache && chmod +x /cache
|
| 22 |
|
| 23 |
# Set the cache environment variable
|
| 24 |
+
ENV TRANSFORMERS_CACHE=/cache
|
| 25 |
|
| 26 |
# Copy the current directory contents into the container at /app
|
| 27 |
COPY . /app
|