Categories
docker

Hosting a Docker Image in Github Packages

Create a github actions workflow within your repository. I will assume you have already created a developer token and added to the secrets section of the repository. Mine is named MY_GITHUB_TOKEN in the actions file. I have a simple Dockerfile that installs Nginx. You can use your own if you wish. Once you push your […]

Categories
docker nodejs

Create a Docker Image Containing a Node.js Application and Host it on Docker Hub

This is first part we will be “dockerizing” a simple node application and pushing the image to docker hub. App structure will be simple and look like this. We will run a simple node server. Dockerfile will have the following instructions to build our image. Now to build our image using the instructions in our […]