FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build-env WORKDIR /app COPY . ./ RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - RUN apt-get install -y nodejs RUN chmod +x ./build.sh RUN ./build.sh FROM mcr.microsoft.com/dotnet/aspnet:7.0 WORKDIR /app COPY --from=build-env /app/output . ENTRYPOINT ["dotnet", "Website.dll"]