mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-25 16:18:54 +01:00
Upgrade Node to v16
As Node.JS v12 is EOL in April 2022, project should move to a newer version.
This commit is contained in:
parent
e030b59bae
commit
0e3640c246
@ -1,12 +1,12 @@
|
||||
### STAGE 0: Build client ###
|
||||
FROM node:12-alpine AS build
|
||||
FROM node:16-alpine AS build
|
||||
WORKDIR /client
|
||||
COPY /client /client
|
||||
RUN npm install
|
||||
RUN npm run generate
|
||||
|
||||
### STAGE 1: Build server ###
|
||||
FROM node:12-alpine
|
||||
FROM node:16-alpine
|
||||
RUN apk update && apk add --no-cache --update ffmpeg
|
||||
ENV NODE_ENV=production
|
||||
COPY --from=build /client/dist /client/dist
|
||||
|
Loading…
Reference in New Issue
Block a user