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