fix: runtime NODE_COMPILE_CACHE dir

This commit is contained in:
Yanlong Wang 2025-03-10 09:32:13 +08:00
parent 6e78e38e95
commit ead906e603
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -33,7 +33,7 @@ RUN NODE_COMPILE_CACHE=node_modules npm run dry-run
ENV OVERRIDE_CHROME_EXECUTABLE_PATH=/usr/bin/google-chrome-stable
ENV LD_PRELOAD=/usr/local/lib/libcurl-impersonate.so CURL_IMPERSONATE=chrome116 CURL_IMPERSONATE_HEADERS=no
ENV NODE_CACHE_DIR=node_modules
ENV NODE_COMPILE_CACHE=node_modules
ENV PORT=8080
EXPOSE 3000 3001 8080 8081