![]() ![]() az webapp config appsettings set -name -resource-group -settings PRE_BUILD_COMMAND="echo foo, scripts/prebuild.sh"Īz webapp config appsettings set -name -resource-group -settings POST_BUILD_COMMAND="echo foo, scripts/postbuild.sh"įor additional environment variables to customize build automation, see Oryx configuration.įor more information on how App Service runs and builds Node.js apps in Linux, see Oryx documentation: How Node.js apps are detected and built. ![]() ![]() The following example specifies the two variables to a series of commands, separated by commas. To run post-build commands, define POST_BUILD_COMMAND. To run pre-build commands, define PRE_BUILD_COMMAND. PRE_BUILD_COMMAND and POST_BUILD_COMMAND are environment variables that are empty by default. preinstall and postinstall run before and after install, respectively. As described in npm docs, scripts named prebuild and postbuild run before and after build, respectively, if specified. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |