Spaces:
Sleeping
Sleeping
Raymond Weitekamp
commited on
Commit
·
21510d9
1
Parent(s):
912bff7
Fix ocp_vscode lock directory permissions
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
|
@@ -19,8 +19,11 @@ ENV MPLCONFIGDIR=/tmp/matplotlib
|
|
| 19 |
# Create cache directories with proper permissions
|
| 20 |
RUN mkdir -p /.cache/ezdxf && \
|
| 21 |
chmod 777 /.cache/ezdxf && \
|
| 22 |
-
|
| 23 |
-
chmod 777
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
# Install uv and create virtual environment
|
| 26 |
RUN pip install uv && \
|
|
|
|
| 19 |
# Create cache directories with proper permissions
|
| 20 |
RUN mkdir -p /.cache/ezdxf && \
|
| 21 |
chmod 777 /.cache/ezdxf && \
|
| 22 |
+
mkdir -p /tmp/ocpvscode && \
|
| 23 |
+
chmod 777 /tmp/ocpvscode
|
| 24 |
+
|
| 25 |
+
# Set OCP_VSCODE_LOCK_DIR environment variable
|
| 26 |
+
ENV OCP_VSCODE_LOCK_DIR=/tmp/ocpvscode
|
| 27 |
|
| 28 |
# Install uv and create virtual environment
|
| 29 |
RUN pip install uv && \
|