From 0623c8a20881ea5d707101641a1cb8252f7fde5f Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Fri, 2 Feb 2024 14:30:47 +0300 Subject: Use external js --- Dockerfile | 3 --- MyDarling.csproj | 5 ++++- Pages/Shared/_Layout.cshtml | 19 ++++++++++++------- libman.json | 18 ------------------ 4 files changed, 16 insertions(+), 29 deletions(-) delete mode 100644 libman.json diff --git a/Dockerfile b/Dockerfile index d643703..4b57ffb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,6 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0-jammy AS build WORKDIR /source COPY . . -RUN dotnet restore && \ - dotnet tool restore && \ - dotnet libman restore RUN dotnet publish --property:OutputPath=/app FROM mcr.microsoft.com/dotnet/aspnet:8.0-jammy diff --git a/MyDarling.csproj b/MyDarling.csproj index 3179cb5..60ee12c 100644 --- a/MyDarling.csproj +++ b/MyDarling.csproj @@ -15,7 +15,10 @@ - + + + PreserveNewest + diff --git a/Pages/Shared/_Layout.cshtml b/Pages/Shared/_Layout.cshtml index 789b9d5..e308e85 100644 --- a/Pages/Shared/_Layout.cshtml +++ b/Pages/Shared/_Layout.cshtml @@ -20,15 +20,22 @@ - - - + + + + + + + - + + + + - diff --git a/libman.json b/libman.json deleted file mode 100644 index 7ba7b9a..0000000 --- a/libman.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "version": "1.0", - "defaultProvider": "cdnjs", - "libraries": [ - { - "library": "fancyapps-ui@4.0.31", - "destination": "wwwroot\\lib\\fancyapps-ui" - }, - { - "library": "bootstrap@5.1.3", - "destination": "wwwroot\\lib\\bootstrap" - }, - { - "library": "font-awesome@6.3.0", - "destination": "wwwroot\\lib\\font-awesome" - } - ] -} \ No newline at end of file -- cgit v1.2.3