Commit 545d8150 by Archer Committed by GitHub

fix docker file (#5385)

parent 16a74c90
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment