Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -8,9 +8,9 @@ WORKDIR /code
|
|
| 8 |
ENV MPLCONFIGDIR=/tmp/matplotlib_cache
|
| 9 |
ENV XDG_CACHE_HOME=/tmp/cache
|
| 10 |
|
| 11 |
-
# Create and set permissions
|
| 12 |
-
RUN mkdir -p /.cache/gdown \
|
| 13 |
-
&& chmod -R 777 /.cache
|
| 14 |
|
| 15 |
# Install libGL for OpenCV
|
| 16 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 8 |
ENV MPLCONFIGDIR=/tmp/matplotlib_cache
|
| 9 |
ENV XDG_CACHE_HOME=/tmp/cache
|
| 10 |
|
| 11 |
+
# Create necessary directories and set permissions
|
| 12 |
+
RUN mkdir -p /.cache/gdown /code/pretrained_models \
|
| 13 |
+
&& chmod -R 777 /.cache /code/pretrained_models
|
| 14 |
|
| 15 |
# Install libGL for OpenCV
|
| 16 |
RUN apt-get update && apt-get install -y \
|