I recently deployed a node.js + react.js Docker baked app onto ZEIT ▲now and here are the walkthroughs I used.
By the way, the project was this:
https://github.com/newbreedofgeek/react-abr-lookup
and the Dockerfile was https://github.com/newbreedofgeek/react-abr-lookup/blob/master/Dockerfile
Step 1:
Dockerizing a Node.js webapp
https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
** when testing Docker locally you will most likely make many mistakes and here is a good collection of commands you can run to clean up Docker runtime
https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes
Step 2:
Deploying to ZEIT ▲now
https://dev.to/grikomsn/how-i-deployed-a-dockerized-nodejs-app-on-zeit-now-358b
Let me know if you have any specific issues in the comments and I’ll help where possible.
By the way, the project was this:
https://github.com/newbreedofgeek/react-abr-lookup
and the Dockerfile was https://github.com/newbreedofgeek/react-abr-lookup/blob/master/Dockerfile
Step 1:
Dockerizing a Node.js webapp
https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
** when testing Docker locally you will most likely make many mistakes and here is a good collection of commands you can run to clean up Docker runtime
https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes
Step 2:
Deploying to ZEIT ▲now
https://dev.to/grikomsn/how-i-deployed-a-dockerized-nodejs-app-on-zeit-now-358b
Let me know if you have any specific issues in the comments and I’ll help where possible.
No comments:
Post a Comment