Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -33,8 +33,8 @@ RUN --mount=type=secret,id=MATERIALS_PROJECT_API_KEY \
|
|
| 33 |
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
| 34 |
|
| 35 |
# Create the index
|
| 36 |
-
RUN --mount=type=secret,id=
|
| 37 |
-
HF_TOKEN=$(cat /run/secrets/
|
| 38 |
|
| 39 |
# Set an environment variable for Hugging Face cache
|
| 40 |
ENV HF_HOME=/app/.cache
|
|
|
|
| 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
|