mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Updating the dockerfile to use yarn
This commit is contained in:
parent
817a254c84
commit
68fbb7ae54
@ -1,7 +1,7 @@
|
||||
.git
|
||||
**/build
|
||||
**/dist
|
||||
**/nodes_modules
|
||||
src/Kyoo.WebApp/Front/nodes_modules
|
||||
**/bin
|
||||
**/obj
|
||||
docs
|
||||
|
@ -4,11 +4,12 @@ WORKDIR /transcoder
|
||||
COPY src/Kyoo.Transcoder .
|
||||
RUN cmake . && make -j
|
||||
|
||||
FROM node:alpine as webapp
|
||||
FROM node:16-alpine as webapp
|
||||
WORKDIR /webapp
|
||||
COPY src/Kyoo.WebApp/Front .
|
||||
RUN npm install
|
||||
RUN npm run build -- --configuration production
|
||||
RUN npm install -g @angular/cli #???
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn run build --configuration production
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:5.0 as builder
|
||||
COPY . .
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit f9741049100f90d09be88826b02c079b00b8b91b
|
||||
Subproject commit 326c9aa9d35a265fbada2f6b268a2740a5beab8e
|
Loading…
x
Reference in New Issue
Block a user