fix pi4 on docker

This commit is contained in:
LouisLam 2021-09-14 19:04:56 +08:00
parent d953ba7c60
commit ad2062713c

View file

@ -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,