Mridul2003 commited on
Commit
f2b6e0a
·
verified ·
1 Parent(s): 888cc42

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,7 +1,9 @@
1
  FROM python:3.10
2
 
3
  # Create a writable cache directory
4
- RUN mkdir -p /app/cache && chmod -R 777 /app/cache
 
 
5
 
6
  # Set environment variable (HF_HOME is preferred over TRANSFORMERS_CACHE)
7
  ENV HF_HOME=/app/cache
 
1
  FROM python:3.10
2
 
3
  # Create a writable cache directory
4
+ # Install system dependencies including libGL
5
+ RUN apt-get update && apt-get install -y libgl1 && \
6
+ mkdir -p /app/cache && chmod -R 777 /app/cache
7
 
8
  # Set environment variable (HF_HOME is preferred over TRANSFORMERS_CACHE)
9
  ENV HF_HOME=/app/cache