Sean Carnahan commited on
Commit
fded136
·
1 Parent(s): 0c12779

Fix mediapipe model file permissions in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -12,6 +12,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
12
  COPY requirements.txt .
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
 
 
 
15
  # Copy all necessary application files and folders from HFup/ to /app in the container
16
  # These paths are relative to the Dockerfile's location (i.e., inside HFup/)
17
  COPY app.py .
 
12
  COPY requirements.txt .
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
+ # Fix permissions for mediapipe model files
16
+ RUN chmod -R 755 /usr/local/lib/python3.9/site-packages/mediapipe
17
+
18
  # Copy all necessary application files and folders from HFup/ to /app in the container
19
  # These paths are relative to the Dockerfile's location (i.e., inside HFup/)
20
  COPY app.py .