Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

modify frontend dockerfile to skip puppeteer download

Naman Dhingraa73b1f6dc300
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index b176926d..6e2e3f38 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -6,6 +6,9 @@ WORKDIR /app
# Copy package.json and yarn.lock
COPY package.json yarn.lock /app/
+# Set the environment variable to skip Puppeteer download
+ENV PUPPETEER_SKIP_DOWNLOAD=true
+
# Install dependencies
RUN yarn install