{"id":19068830,"url":"https://github.com/cutenode/xkcd-to-azure","last_synced_at":"2026-04-14T04:31:59.322Z","repository":{"id":74933787,"uuid":"174026593","full_name":"cutenode/xkcd-to-azure","owner":"cutenode","description":"Auto-deploy a Dockerized application to Azure","archived":false,"fork":false,"pushed_at":"2019-12-09T03:48:06.000Z","size":74,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-24T23:41:54.757Z","etag":null,"topics":["app","azure","express","node","nodejs","web","xkcd"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/cutenode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-03-05T21:55:35.000Z","updated_at":"2019-05-31T14:51:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"29252a67-c95d-4532-92cb-0f9981857f96","html_url":"https://github.com/cutenode/xkcd-to-azure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cutenode/xkcd-to-azure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fxkcd-to-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fxkcd-to-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fxkcd-to-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fxkcd-to-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cutenode","download_url":"https://codeload.github.com/cutenode/xkcd-to-azure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fxkcd-to-azure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["app","azure","express","node","nodejs","web","xkcd"],"created_at":"2024-11-09T01:12:11.785Z","updated_at":"2026-04-14T04:31:59.304Z","avatar_url":"https://github.com/cutenode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What have we done in this step\n\nWe've Dockerized!\n\nThe first step was adding a new npm script, `start`, which can be run to start our app via npm. We've added this as a tiny touch of developer expereince.\n\nNext, we went ahead and created `Dockerfile` and `.dockerignore`. In the dockerfile we've scaffolded out an extremely basic setup:\n\n**Dockerfile:**\n\n- Use the latest Node.js LTS with Alpine Linux\n- Create an application directory\n- Copy over the `package.json` and `package-lock.json` from the current directory\n- Run `npm ci` to install dependencies rapidly\n- Copy the dependencies into the app directory\n- Run `npm start`\n\n**.dockerignore:**\n\n- Ignore `node_modules`\n- Ignore npm's debug file\n\nNext, we'll _need_ to run a command to actually build the Docker image from the `Dockerfile`. To do this, run the following command after replacing `\u003cYOUR_DOCKER_HUB_USERNAME\u003e` with your [Docker Hub](https://hub.docker.com/) username:\n\n```bash\ndocker build -t \u003cYOUR_DOCKER_HUB_USERNAME\u003e/step-by-step-express .\n```\n\nIt's worth noting that `\u003cYOUR_DOCKER_HUB_USERNAME\u003e/step-by-step-express` can be any string – this is just the one I've decided to use personally, as it's more easily identifyable. You're not required to include your Docker Hub username nor the repo/project name, but this does seem to be the naming convention the Docker community has standardized on.\n\nFrom there, we'll want to run the Docker image, publshing (`-p`) port 8080 and running it in detached mode (`-d`). You'll need to have Docker locally installed for this step!\n\n```bash\ndocker run -p 8080:8080 -d \u003cYOUR_DOCKER_HUB_USERNAME\u003e/step-by-step-express\n```\n\nNext, you're going to want to publish this image to Docker Hub – this just requires a few steps:\n\n```bash\ndocker login # log in with your Docker Hub credentials\n```\n\n```bash\ndocker push \u003cYOUR_DOCKER_HUB_USERNAME\u003e/step-by-step-express\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutenode%2Fxkcd-to-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcutenode%2Fxkcd-to-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutenode%2Fxkcd-to-azure/lists"}