Spaces:
Sleeping
Sleeping
rosyvs
commited on
Commit
·
6b0c12c
1
Parent(s):
a80ecb7
dockerfile make result directory
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -18,7 +18,7 @@ ENV MPLCONFIGDIR /tmp/matplotlib
|
|
| 18 |
|
| 19 |
# Create and set permissions for result directories and logs inside the container
|
| 20 |
# Using a loop can reduce the number of layers and make the Dockerfile cleaner
|
| 21 |
-
RUN for dir in
|
| 22 |
mkdir /app/$dir && chmod -R 777 /app/$dir; \
|
| 23 |
done
|
| 24 |
|
|
|
|
| 18 |
|
| 19 |
# Create and set permissions for result directories and logs inside the container
|
| 20 |
# Using a loop can reduce the number of layers and make the Dockerfile cleaner
|
| 21 |
+
RUN for dir in results logs; do \
|
| 22 |
mkdir /app/$dir && chmod -R 777 /app/$dir; \
|
| 23 |
done
|
| 24 |
|