From e1936fca063c438aca6493418ffc25a97c2997d8 Mon Sep 17 00:00:00 2001 From: Swerik <47034061+TheSwerik@users.noreply.github.com> Date: Wed, 9 Jul 2025 01:04:43 +0200 Subject: [PATCH] add yarn to docker (#133) --- 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 #########################################################################