diff --git a/Dockerfile b/Dockerfile index d396abd..12ee4f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,12 @@ RUN dotnet publish -c release -o /out --no-restore FROM mcr.microsoft.com/dotnet/aspnet:6.0-focal AS runtime WORKDIR /app COPY --from=build /out ./ +RUN apt-get update \ + && apt-get install -y --no-install-recommends curl +RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - \ + && apt-get install -y --no-install-recommends nodejs \ + && echo "node version: $(node --version)" \ + && echo "npm version: $(npm --version)" \ + && rm -rf /var/lib/apt/lists/* +RUN npm install --ignore-scripts ENTRYPOINT ["dotnet", "MusicTypeChat.dll"]