Spaces:
Runtime error
Runtime error
fix dockerfiles
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,11 @@ COPY kaggle.json /root/.kaggle/
|
|
| 14 |
|
| 15 |
RUN chmod 600 /root/.kaggle/kaggle.json
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
RUN pip install -r requirements.txt
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
RUN chmod 600 /root/.kaggle/kaggle.json
|
| 16 |
|
| 17 |
+
# Set up cache directories with appropriate permissions
|
| 18 |
+
RUN mkdir -p /root/.cache && chmod -R 777 /root/.cache
|
| 19 |
+
|
| 20 |
+
# Change ownership of working directory (if necessary)
|
| 21 |
+
RUN chown -R root:root /usr/src/app
|
| 22 |
|
| 23 |
RUN pip install -r requirements.txt
|
| 24 |
|