mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-13 09:28:20 +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 ###
|
### STAGE 0: Build client ###
|
||||||
FROM node:12-alpine AS build
|
FROM node:16-alpine AS build
|
||||||
WORKDIR /client
|
WORKDIR /client
|
||||||
COPY /client /client
|
COPY /client /client
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run generate
|
RUN npm run generate
|
||||||
|
|
||||||
### STAGE 1: Build server ###
|
### STAGE 1: Build server ###
|
||||||
FROM node:12-alpine
|
FROM node:16-alpine
|
||||||
RUN apk update && apk add --no-cache --update ffmpeg
|
RUN apk update && apk add --no-cache --update ffmpeg
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
COPY --from=build /client/dist /client/dist
|
COPY --from=build /client/dist /client/dist
|
||||||
|
Loading…
Reference in New Issue
Block a user