Docker is an open platform for building, shipping and running distributed applications. We’ll be using a basic Express application as our example Node.js application to run in our Docker container. We will write an addressbook API that stores people’s names in a database.

18m read timeFrom semaphoreci.com
Post cover image
Table of contents
What is Docker, Anyway?Advantages of Using DockerPrerequisitesCreate RepositoryDirectory StructureConfiguring the DatabaseStart the ApplicationSetting Up PM2Installing DockerRunning Postgres With DockerCreating a DockerfileBundling and Running the Docker ContainerDocker ComposeDockerize the Node application with CI/CDTesting the Dockerized Node Application ImageNext StepsConclusion
1 Comment

Sort: