Define webapp specific env vars in generic datastream app deploy script
For now, this makes things easier, as I don't need to write a special script just for the webapp
This commit is contained in:
1 parent
af2536bbb9
commit
aa7dda3dca
1 file changed
+4
@@ -176,6 +176,10 @@ if [ $status -ne 0 ]; then
|
||||
fi
|
||||
|
||||
cat <<EOF >> "$release_dir/Dockerfile"
|
||||
ENV ASPNETCORE_HTTP_PORT=8080
|
||||
ENV ASPNETCORE_HTTPS_PORT=8443
|
||||
ENV ASPNETCORE_ENVIRONMENT=Production
|
||||
ENV ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=Microsoft.AspNetCore.SpaProxy
|
||||
COPY "bin" "$app_name/bin"
|
||||
WORKDIR /home/bts/$app_name/bin
|
||||
ENTRYPOINT [ "./$app_name" ]
|
||||
|
||||
Reference in new issue
Block a user