Navid61 commented on issue #33686:
URL: https://github.com/apache/superset/issues/33686#issuecomment-2939238517

   Based on your guidance, I updated the Dockerfile and added npm as you 
suggested. I also explicitly set both PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true and 
PUPPETEER_SKIP_DOWNLOAD=true in the Dockerfile’s build stage and in my .env 
file.
   
   After these changes, the build succeeds and npm is available inside the 
container. Puppeteer is also present and skipped downloading Chromium as 
expected.
   
   Here’s my relevant Dockerfile section for reference:
   
   ```bash
   RUN /app/docker/apt-install.sh build-essential python3 zstd npm
   ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
   ENV PUPPETEER_SKIP_DOWNLOAD=true
   RUN npm config set registry https://registry.npmjs.org/
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to