diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index e5aaa046fc..a8d73e9304 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -32,8 +32,11 @@ "ms-dotnettools.csharp" ], - // Use 'forwardPorts' to make a list of ports inside the container available locally. - "forwardPorts": [9000, 5000, 25] + // Use 'forwardPorts' to make a list of ports inside the container available locallAdd "forwardPorts": [9000, 5000, 25], + + // Use OnCreateCommand to run commands after the container is created + // This is used in the prebuilds - so dotnet build (nuget restore and node stuff) is done + "onCreateCommand": "dotnet build umbraco.sln", // [Optional] To reuse of your local HTTPS dev cert: //