From bf4ac0cf175639a983072c9d112afc4f46141e96 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Thu, 7 Oct 2021 21:24:10 +0800 Subject: [PATCH] fix dockerfile issue on arm --- dockerfile | 2 ++ dockerfile-alpine | 2 ++ 2 files changed, 4 insertions(+) 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 && \