Spaces:
Sleeping
Sleeping
fix flagged permission
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -53,6 +53,7 @@ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
|
53 |
# Set environment variables to point to this new directory
|
54 |
ENV NUMBA_CACHE_DIR=/app/cache/numba_cache
|
55 |
ENV MPLCONFIGDIR=/app/cache/matplotlib_cache
|
|
|
56 |
|
57 |
CMD ["python", "webui.py", "--work_dir", "pretrained", "--addr", "0.0.0.0", "--port", "7860"]
|
58 |
|
|
|
53 |
# Set environment variables to point to this new directory
|
54 |
ENV NUMBA_CACHE_DIR=/app/cache/numba_cache
|
55 |
ENV MPLCONFIGDIR=/app/cache/matplotlib_cache
|
56 |
+
RUN mkdir -m 700 flagged
|
57 |
|
58 |
CMD ["python", "webui.py", "--work_dir", "pretrained", "--addr", "0.0.0.0", "--port", "7860"]
|
59 |
|