Dockerfile: Fixing the node version

This commit is contained in:
Zoe Roux 2021-11-01 15:22:08 +01:00
parent 68fbb7ae54
commit d435c2c59f

View File

@ -4,10 +4,10 @@ WORKDIR /transcoder
COPY src/Kyoo.Transcoder . COPY src/Kyoo.Transcoder .
RUN cmake . && make -j RUN cmake . && make -j
FROM node:16-alpine as webapp FROM node:14-alpine as webapp
WORKDIR /webapp WORKDIR /webapp
COPY src/Kyoo.WebApp/Front . COPY src/Kyoo.WebApp/Front .
RUN npm install -g @angular/cli #??? RUN npm install -g @angular/cli
RUN yarn install --frozen-lockfile RUN yarn install --frozen-lockfile
RUN yarn run build --configuration production RUN yarn run build --configuration production