From 78a2589335d5736111b2040f2896ed598e4121eb Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sun, 13 Jan 2019 17:27:44 -0600 Subject: [PATCH] install node dep in Web publish container --- src/FilterLists.Web/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FilterLists.Web/Dockerfile b/src/FilterLists.Web/Dockerfile index 948c5bc92..78edad468 100644 --- a/src/FilterLists.Web/Dockerfile +++ b/src/FilterLists.Web/Dockerfile @@ -1,6 +1,8 @@ FROM microsoft/dotnet:2.2-sdk AS publish COPY FilterLists.Web /FilterLists.Web -RUN dotnet publish FilterLists.Web/FilterLists.Web.csproj -c Release -o /out +RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - \ + && apt-get install -y nodejs \ + && dotnet publish FilterLists.Web/FilterLists.Web.csproj -c Release -o /out FROM microsoft/dotnet:2.2-aspnetcore-runtime AS final COPY --from=publish /out .