mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 10:14:36 +02: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 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue