mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 18:06:14 +03:00
fix pi4 on docker
This commit is contained in:
parent
d953ba7c60
commit
ad2062713c
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
# DON'T UPDATE TO node:14-bullseye-slim, see #372.
|
# DON'T UPDATE TO node:14-bullseye-slim, see #372.
|
||||||
|
# If the image changed, the second stage image should be changed too
|
||||||
FROM node:14-buster-slim AS build
|
FROM node:14-buster-slim AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -12,7 +13,7 @@ RUN apt update && \
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install --legacy-peer-deps && npm run build && npm prune --production
|
RUN npm install --legacy-peer-deps && npm run build && npm prune --production
|
||||||
|
|
||||||
FROM node:14-bullseye-slim AS release
|
FROM node:14-buster-slim AS release
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install Apprise,
|
# Install Apprise,
|
||||||
|
|
Loading…
Reference in a new issue