fix dockerfile issue on arm

pull/567/head
LouisLam 3 years ago
parent c0846124c2
commit bf4ac0cf17

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

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

Loading…
Cancel
Save