You can also put all of the environment variables in the code and it will work on Azure.
const host = process.env.HOST || "0.0.0.0"
const port = process.env.PORT || 3001
app.listen(port, host, () => console.log(`Example app listening on host ${host}, port ${port}!`))