diff --git a/dockerfile b/dockerfile index 969d5ff38..b6c48b281 100644 --- a/dockerfile +++ b/dockerfile @@ -1,6 +1,8 @@ FROM louislam/uptime-kuma:base-debian AS build WORKDIR /app +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 + COPY . . RUN npm install --legacy-peer-deps && \ npm run build && \ diff --git a/dockerfile-alpine b/dockerfile-alpine index 178afcabb..7604c40cb 100644 --- a/dockerfile-alpine +++ b/dockerfile-alpine @@ -1,6 +1,8 @@ FROM louislam/uptime-kuma:base-alpine AS build WORKDIR /app +ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 + COPY . . RUN npm install --legacy-peer-deps && \ npm run build && \