Ramlaoui commited on
Commit
0ef6a76
1 Parent(s): 5d45184

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -32,10 +32,6 @@ RUN --mount=type=secret,id=MATERIALS_PROJECT_API_KEY \
32
  # Create the cache directory and set permissions
33
  RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
34
 
35
- # Create the index
36
- RUN --mount=type=secret,id=HF_TOKEN \
37
- HF_TOKEN=$(cat /run/secrets/HF_TOKEN) python create_index.py
38
-
39
  # Set an environment variable for Hugging Face cache
40
  ENV HF_HOME=/app/.cache
41
 
 
32
  # Create the cache directory and set permissions
33
  RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
34
 
 
 
 
 
35
  # Set an environment variable for Hugging Face cache
36
  ENV HF_HOME=/app/.cache
37