From 2a7c29bf72fab9dba1880c2cea7df2511fa28714 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 29 Dec 2024 00:33:01 -0600 Subject: [PATCH] chore: upgrade nuget libraries (#175) --- .vscode/settings.json | 5 ++++- src/Dockerfile | 4 ++-- src/OpenIdConnectServerMock.csproj | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 69a5670..1b08395 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,5 +22,8 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "typescript.tsdk": "node_modules/typescript/lib", - "typescript.enablePromptUseWorkspaceTsdk": true + "typescript.enablePromptUseWorkspaceTsdk": true, + "[dockerfile]": { + "editor.defaultFormatter": "ms-azuretools.vscode-docker" + } } diff --git a/src/Dockerfile b/src/Dockerfile index 93e0e33..6ebbe6c 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -17,7 +17,7 @@ RUN dotnet restore -a $TARGETARCH COPY . . -RUN dotnet publish -a $TARGETARCH -c $target -o obj/docker/publish +RUN dotnet publish -a $TARGETARCH --no-restore -c $target -o obj/docker/publish RUN cp -r /src/obj/docker/publish /OpenIdConnectServerMock @@ -38,6 +38,6 @@ EXPOSE 80 EXPOSE 443 HEALTHCHECK --start-period=2s --interval=1s --timeout=100ms --retries=10 \ - CMD curl -k --location https://localhost/health || exit 1 + CMD curl -k --location https://localhost/health || exit 1 ENTRYPOINT ["dotnet", "OpenIdConnectServerMock.dll" ] diff --git a/src/OpenIdConnectServerMock.csproj b/src/OpenIdConnectServerMock.csproj index 37e0cd6..ac3b617 100644 --- a/src/OpenIdConnectServerMock.csproj +++ b/src/OpenIdConnectServerMock.csproj @@ -26,10 +26,10 @@ - - - - + + + +