Spaces:
Sleeping
Sleeping
Raymond Weitekamp
commited on
Commit
·
912bff7
1
Parent(s):
a3020c1
Create cache directories with proper permissions for ezdxf and ocp_vscode
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 16 |
# Create matplotlib config directory with proper permissions
|
| 17 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# Install uv and create virtual environment
|
| 20 |
RUN pip install uv && \
|
| 21 |
uv venv /opt/venv
|
|
|
|
| 16 |
# Create matplotlib config directory with proper permissions
|
| 17 |
ENV MPLCONFIGDIR=/tmp/matplotlib
|
| 18 |
|
| 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 && \
|
| 27 |
uv venv /opt/venv
|