{"id":18251369,"url":"https://github.com/shehza-d/dockerizing-node","last_synced_at":"2025-04-04T16:32:11.241Z","repository":{"id":223660461,"uuid":"744566825","full_name":"shehza-d/dockerizing-node","owner":"shehza-d","description":"Dockerization, refers to the process of packaging an application and its dependencies into a container called a “Docker container.”","archived":false,"fork":false,"pushed_at":"2024-09-11T08:31:22.000Z","size":20,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T15:22:17.591Z","etag":null,"topics":["docker","node-docker","nodejs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shehza-d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-17T15:06:11.000Z","updated_at":"2024-09-11T08:31:29.000Z","dependencies_parsed_at":"2024-02-21T12:29:57.704Z","dependency_job_id":"67884ea9-8101-4a70-885b-1ea2ed0138a3","html_url":"https://github.com/shehza-d/dockerizing-node","commit_stats":null,"previous_names":["shehza-d/dockerizing-node"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehza-d%2Fdockerizing-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehza-d%2Fdockerizing-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehza-d%2Fdockerizing-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shehza-d%2Fdockerizing-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shehza-d","download_url":"https://codeload.github.com/shehza-d/dockerizing-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247209524,"owners_count":20901801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","node-docker","nodejs"],"created_at":"2024-11-05T09:47:24.682Z","updated_at":"2025-04-04T16:32:10.958Z","avatar_url":"https://github.com/shehza-d.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockerizing Node App\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://skillicons.dev/icons?i=docker,nodejs\" /\u003e\n\u003c/p\u003e\n\nDockerization, also known as “containerization,” refers to the process of packaging an application and its dependencies into a standardized container called a “Docker container.” Docker is an open-source platform that provides a lightweight and isolated environment for running applications.\n\n## Steps\n\n1. [Docker Installation](https://docs.docker.com/engine/install/ubuntu/)\n\n1. Verify that the Docker Engine installation is successful by running the hello-world image.\n\n   ```bash\n   sudo docker run hello-world\n   ```\n\n1. Containerizing app\n\n   ```bash\n   docker build -t package-name .\n   ```\n\n1. Running the image\n\n   ```bash\n   sudo docker run -it -p 8000:8000 package-name\n   ```\n\n   It will map 8000 port of container image to 8000 port of my machine\n\n---\n\n5.  On AWS ERC we will create repo \n\n\n\u003c!-- https://www.youtube.com/watch?v=31k6AtW-b3Y --\u003e\n\n### [Taste of DevOps Tutorial](https://youtu.be/YOqUAfNtXFE)\n\n### [Never install locally](https://youtu.be/J0NuOlA2xDc)\n\n---\n\n00:03 Introduction to the staff room session\n\n02:22 Discussion on containerization and deployment\n\n06:36 Setting up TypeScript configuration and basic Express application\n\n08:28 Building and running the project with npm\n\n12:19 How to copy package.json and package-lock.json in DevOps\n\n14:59 Copying and organizing source code within containers and understanding Dockerfile usage\n\n19:00 Package management and building distribution in DevOps\n\n20:53 Running NPM and Docker commands\n\n24:58 Containerized Node.js application with Docker image\n\n27:11 Hosting code on a cloud and using image registries\n\n31:12 Creating and configuring AWS IAM user and access keys\n\n33:05 Setting up ADB and Docker build commands\n\n36:54 Introduction to Elastic Container Service (ECS)\n\n38:51 Setting up own clusters for staging and production\n\n43:00 Using ECR for image management\n\n44:59 Monitoring container health with health route\n\n48:44 Deployment options and rolling updates\n\n50:41 Handling bugs and scaling in DevOps\n\n54:44 Autoscaling for ECS service\n\n56:34 Auto scaling based on traffic and memory utilization\n\n1:00:29 Setting up and monitoring task health status and target group\n\n1:02:11 Setting up load balancer and target group for container management\n\n1:06:07 Discussing Kubernetes deployment and scaling in DevOps\n\n1:07:53 Managing zero running tasks in DevOps\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshehza-d%2Fdockerizing-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshehza-d%2Fdockerizing-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshehza-d%2Fdockerizing-node/lists"}