Commit ·
5acb55b
1
Parent(s): bd6e41a
Updated cache folder permission
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -8,7 +8,7 @@ COPY . .
|
|
| 8 |
WORKDIR /
|
| 9 |
|
| 10 |
# Create a new cache directory
|
| 11 |
-
RUN mkdir -p /path/custom_cache &&
|
| 12 |
|
| 13 |
# Set the environment's home path to the new cache file
|
| 14 |
ENV TRANSFORMERS_CACHE=/path/custom_cache
|
|
|
|
| 8 |
WORKDIR /
|
| 9 |
|
| 10 |
# Create a new cache directory
|
| 11 |
+
RUN mkdir -p /path/custom_cache && chmod 777 /path/custom_cache
|
| 12 |
|
| 13 |
# Set the environment's home path to the new cache file
|
| 14 |
ENV TRANSFORMERS_CACHE=/path/custom_cache
|