Skip to content

Instantly share code, notes, and snippets.

@ihgrant
Last active September 15, 2017 17:28
Show Gist options
  • Save ihgrant/d08e4a472777f7fca1eb3c6c373fb3d4 to your computer and use it in GitHub Desktop.
Save ihgrant/d08e4a472777f7fca1eb3c6c373fb3d4 to your computer and use it in GitHub Desktop.
hosting nodejs in azure
  • you need a .deployment file in your project root (see example). This tells Kudu (Azure's deployment engine) what else it needs to do beyond copying the files. https://github.com/projectkudu/kudu/wiki/Customizing-deployments
  • this runs a deploy shell script to install dependencies and build your app after azure instantiates the docker container with your files in it.
  • by default, azure will look for a 'start' NPM script and run that to start your app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment