fix docker file (#5385)

This commit is contained in:
Archer
2025-08-04 20:20:42 +08:00
committed by GitHub
parent 16a74c909d
commit 545d8150f2

View File

@@ -35,7 +35,7 @@ RUN npm run build
# Update search index if SEARCH_APPWRITEKEY is provided
RUN if [ -n "$SEARCH_APPWRITEKEY" ]; then \
echo "SEARCH_APPWRITEKEY found, updating search index..." && \
npm run update-index-action; \
(npm run update-index-action || echo "Search index update failed, but continuing..."); \
else \
echo "SEARCH_APPWRITEKEY not provided, skipping search index update"; \
fi