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 #########################################################################