{"id":22688201,"url":"https://github.com/emanuelefavero/docker-nextjs","last_synced_at":"2026-04-05T08:33:52.388Z","repository":{"id":236859924,"uuid":"793297451","full_name":"emanuelefavero/docker-nextjs","owner":"emanuelefavero","description":"This is a simple example of how to use Docker with Next.js.","archived":false,"fork":false,"pushed_at":"2024-04-29T00:08:22.000Z","size":59,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T16:36:59.760Z","etag":null,"topics":["docker","docker-compose","dockerfile","nextjs","react"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/emanuelefavero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-29T00:08:07.000Z","updated_at":"2024-04-29T09:41:39.000Z","dependencies_parsed_at":"2024-04-29T01:27:20.237Z","dependency_job_id":"29e8643f-869e-4e66-9799-ff8d8226e93f","html_url":"https://github.com/emanuelefavero/docker-nextjs","commit_stats":null,"previous_names":["emanuelefavero/docker-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/emanuelefavero/docker-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fdocker-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fdocker-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fdocker-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fdocker-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emanuelefavero","download_url":"https://codeload.github.com/emanuelefavero/docker-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emanuelefavero%2Fdocker-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31430009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T08:13:15.228Z","status":"ssl_error","status_checked_at":"2026-04-05T08:13:11.839Z","response_time":75,"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":["docker","docker-compose","dockerfile","nextjs","react"],"created_at":"2024-12-10T00:13:28.472Z","updated_at":"2026-04-05T08:33:52.364Z","avatar_url":"https://github.com/emanuelefavero.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Next.js\n\nThis is a simple example of how to use Docker with Next.js.\n\n\u003e Tip: See `./Dockerfile` and `./docker-compose.yml` in this repo for more details\n\u003e\n\u003e Note: Before running the commands below, make sure you have [Docker](https://docs.docker.com/get-docker/) installed on your machine\n\n## How to use\n\n### Development\n\n- Build the image with `docker-compose build`, then run:\n\n```bash\ndocker-compose up\n\n# or, watch for changes\ndocker-compose watch\n```\n\n\u003e Note: The app will be available at `http://localhost:3000`\n\n### Production\n\n- Build the image with `docker build -t APP-NAME .`, then run:\n\n```bash\ndocker run -p 3000:3000 APP-NAME\n```\n\n\u003e Note: The app will be available at `http://localhost:3000`\n\u003e\n\u003e Note: `APP-NAME` is the name of the image, you could choose the name of this repo: `docker-nextjs`\n\n### Stop the container\n\n- To stop the container, run:\n\n```bash\n# development\ndocker-compose down\n\n# production\ndocker stop CONTAINER-ID\n# or simply go to the Docker Desktop app and stop the container there\n```\n\n\u003e Note: You can get the `CONTAINER-ID` by running `docker ps`\n\n### Remove the container\n\n- To remove the container, run:\n\n```bash\n# development\ndocker-compose down -v\n\n# production\ndocker rm CONTAINER-ID\n# or simply go to the Docker Desktop app and remove the container there\n```\n\n## License\n\n- [MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fdocker-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanuelefavero%2Fdocker-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanuelefavero%2Fdocker-nextjs/lists"}