diff --git a/src/AWS.Deploy.DockerEngine/Templates/Dockerfile.template b/src/AWS.Deploy.DockerEngine/Templates/Dockerfile.template index 1d6cbfa07..d30b1fc81 100644 --- a/src/AWS.Deploy.DockerEngine/Templates/Dockerfile.template +++ b/src/AWS.Deploy.DockerEngine/Templates/Dockerfile.template @@ -12,6 +12,10 @@ WORKDIR "/src/{project-folder}" RUN dotnet build "{project-name}" -c Release -o /app/build FROM build AS publish +RUN apt-get update -yq \ + && apt-get install curl gnupg -yq \ + && curl -sL https://deb.nodesource.com/setup_10.x | bash \ + && apt-get install nodejs -yq RUN dotnet publish "{project-name}" -c Release -o /app/publish FROM base AS final