moheith commited on
Commit
45b692f
·
verified ·
1 Parent(s): b0c9390

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,8 +7,8 @@ RUN apt-get update && apt-get install -y build-essential python3-dev
7
 
8
  # Force install the specific libraries globally as Root
9
  # CRITICAL FIX: Use the pre-built CPU wheel so it installs instantly instead of compiling for 30 minutes
10
- RUN pip install --no-cache-dir chainlit
11
- RUN pip install --no-cache-dir llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
12
 
13
  # Set up the Hugging Face restricted user
14
  RUN useradd -m -u 1000 user
 
7
 
8
  # Force install the specific libraries globally as Root
9
  # CRITICAL FIX: Use the pre-built CPU wheel so it installs instantly instead of compiling for 30 minutes
10
+ RUN pip install --no-cache-dir --prefer-binary "chainlit==1.1.400"
11
+ RUN pip install --no-cache-dir --prefer-binary llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
12
 
13
  # Set up the Hugging Face restricted user
14
  RUN useradd -m -u 1000 user