Raymond Weitekamp commited on
Commit
21510d9
·
1 Parent(s): 912bff7

Fix ocp_vscode lock directory permissions

Browse files
Files changed (1) hide show
  1. 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
- touch /.ocpvscode.lock && \
23
- chmod 777 /.ocpvscode.lock
 
 
 
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 && \