mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
install node dep in Web publish container
This commit is contained in:
parent
a5a2aee5dc
commit
78a2589335
1 changed files with 3 additions and 1 deletions
|
|
@ -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 .
|
||||
|
|
|
|||
Loading…
Reference in a new issue