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 FROM louislam/uptime-kuma:base-debian AS build
WORKDIR /app WORKDIR /app
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
COPY . . COPY . .
RUN npm install --legacy-peer-deps && \ RUN npm install --legacy-peer-deps && \
npm run build && \ npm run build && \

View File

@ -1,6 +1,8 @@
FROM louislam/uptime-kuma:base-alpine AS build FROM louislam/uptime-kuma:base-alpine AS build
WORKDIR /app WORKDIR /app
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
COPY . . COPY . .
RUN npm install --legacy-peer-deps && \ RUN npm install --legacy-peer-deps && \
npm run build && \ npm run build && \