fix dockerfile issue on arm
This commit is contained in:
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…
Reference in New Issue