From f1bae56ced71d0e53041c0bea91e78f5a4b9e94d Mon Sep 17 00:00:00 2001 From: TheSwerik Date: Wed, 9 Jul 2025 01:04:15 +0200 Subject: [PATCH] add yarn to docker --- src/Api/Dockerfile | 3 +++ src/Web/Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index f7ab1a7..96ba660 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -3,6 +3,9 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine as builder WORKDIR /build COPY ../../. . +RUN apk add --no-cache nodejs npm +RUN npm install -g yarn +RUN yarn --version RUN dotnet publish -c Release -o /build/publish src/Api/Api.csproj ######################################################################### diff --git a/src/Web/Dockerfile b/src/Web/Dockerfile index 4630f5d..eb86810 100644 --- a/src/Web/Dockerfile +++ b/src/Web/Dockerfile @@ -3,6 +3,9 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine as builder WORKDIR /build COPY ../../. . +RUN apk add --no-cache nodejs npm +RUN npm install -g yarn +RUN yarn --version RUN dotnet publish -c Release -o /build/publish src/Web/Web.csproj #########################################################################