fciannella commited on
Commit
1e9838c
·
1 Parent(s): 971559f

more permission issues

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -14,6 +14,7 @@ FROM python:3.12-slim
14
 
15
  # Environment setup
16
  ENV PYTHONUNBUFFERED=1
 
17
 
18
  # System dependencies
19
  RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -60,6 +61,11 @@ RUN uv pip install -r agents/requirements.txt
60
  RUN uv pip install -U langgraph
61
  RUN chmod +x start.sh
62
 
 
 
 
 
 
63
  # Port configuration (single external port for app)
64
  EXPOSE 7860
65
 
 
14
 
15
  # Environment setup
16
  ENV PYTHONUNBUFFERED=1
17
+ ENV UV_NO_TRACKED_CACHE=1
18
 
19
  # System dependencies
20
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
61
  RUN uv pip install -U langgraph
62
  RUN chmod +x start.sh
63
 
64
+ # Fix ownership so runtime user can read caches and virtualenv
65
+ RUN mkdir -p /home/user/.cache/uv \
66
+ && chown -R 1000:1000 /home/user/.cache \
67
+ && if [ -d /app/examples/voice_agent_webrtc_langgraph/.venv ]; then chown -R 1000:1000 /app/examples/voice_agent_webrtc_langgraph/.venv; fi
68
+
69
  # Port configuration (single external port for app)
70
  EXPOSE 7860
71