.NET
Microsoft Technologies based on the .NET software framework.
3,493 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I have this Dockerfile
FROM node:18.3
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
RUN apt-get update && apt-get install curl gnupg -y \
&& curl --location --silent https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install google-chrome-stable -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY . .
EXPOSE 8080
CMD [ "node", "server.js" ]
I want to run a Puppeteer instance from it - https://github.com/puppeteer/puppeteer
Locally it works fine, but when I deploy to an Azure App Service for linux containers, I get
Why is it searching for a 'docker' module?
I've set up a build/release pipeline that gets executed successfully.
Thank you