The devcert in the docker was not working so moved to updateContentCommand

This commit is contained in:
Warren Buckley
2022-11-15 10:14:29 +00:00
parent 35355ce828
commit 1d78a06509
2 changed files with 1 additions and 5 deletions

View File

@@ -22,7 +22,3 @@ RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/
# https://docs.npmjs.com/cli/v6/using-npm/config#unsafe-perm
# Default: false if running as root, true otherwise (we are ROOT)
#RUN npm -g config set user vscode && npm -g config set unsafe-perm
# Generate and trust a local developer certificate for Kestrel
# This is needed for Kestrel to bind on https
RUN dotnet dev-certs https --trust

View File

@@ -36,7 +36,7 @@
// This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done
"updateContentCommand": "dotnet build umbraco.sln",
"updateContentCommand": "dotnet build umbraco.sln && dotnet dev-certs https --trust",
// [Optional] To reuse of your local HTTPS dev cert:
//