fix dockerfile issue on arm

This commit is contained in:
LouisLam 2021-10-07 21:24:10 +08:00
parent c0846124c2
commit bf4ac0cf17
2 changed files with 4 additions and 0 deletions

View file

@ -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 && \

View file

@ -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 && \