-
Notifications
You must be signed in to change notification settings - Fork 5
Deploy to Heroku
Masanori Ohgita edited this page Apr 21, 2022
·
12 revisions
This template application can be deployed with either of the following methods:
-
Heroku
stack and Node.js buildpack -- without Docker:- Pros.
- Easy to deploy in a short build time.
- Pros.
-
Container
stack -- with Docker :- Pros.
- You can install various dependent packages and native modules, using the
apt
command and other methods.
- You can install various dependent packages and native modules, using the
- Pros.
To deploy using this method, you just fork this repository.
Then, please navigate to https://heroku.com/deploy?template=https://github.com/YOUR_GITHUB_NAME/YOUR_REPOSITORY_NAME/tree/master
To deploy using this method, first fork this repository.
Then, please edit, commit and push the 2 files in your repository as follows:
{
"name": "angular-nest",
"env": {},
"addons": [],
"stack": "container"
}
build:
docker:
web: Dockerfile
Then, navigate to https://heroku.com/deploy?template=https://github.com/YOUR_GITHUB_NAME/YOUR_REPOSITORY_NAME/tree/master
- https://devcenter.heroku.com/articles/heroku-button
- https://devcenter.heroku.com/articles/stack - About "Heroku" stack and "Container" stack.