File tree Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Expand file tree Collapse file tree 1 file changed +21
-5
lines changed Original file line number Diff line number Diff line change 8
8
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
9
9
#
10
10
11
- mkdir /app
12
- cd /app
11
+ # Stop script on NZEC
12
+ set -e
13
+ # Stop script if unbound variable found
14
+ set -u
15
+ # This is causing it to fail
16
+ set -o pipefail
17
+
18
+ # Set Variables for DotNet CLI
19
+ export HOME=/root
13
20
export DOTNET_CLI_HOME=/root
14
- dotnet new webApp -o myWebApp --no-https
15
- cd myWebApp
16
- # dotnet run --urls "http://*:5000"
21
+ export DOTNET_CLI_TELEMETRY_OPTOUT=true
22
+
23
+ # Prepare App folder
24
+ mkdir /app && cd /app
25
+ dotnet nuget list client-cert
26
+
27
+ # Create base webApp
28
+ dotnet new webApp -o myOracleQuickstartWebApp --no-https --no-restore
29
+
30
+ # Publish app to be ready to run as a service
31
+ cd myOracleQuickstartWebApp
32
+ dotnet restore
17
33
dotnet publish --configuration Release
You can’t perform that action at this time.
0 commit comments