{"id":16837242,"url":"https://github.com/ankeetmaini/docker-react-nginx","last_synced_at":"2025-09-23T13:02:35.212Z","repository":{"id":39136128,"uuid":"261420158","full_name":"ankeetmaini/docker-react-nginx","owner":"ankeetmaini","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T05:02:48.000Z","size":4503,"stargazers_count":8,"open_issues_count":20,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-23T13:02:06.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankeetmaini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-05T10:02:12.000Z","updated_at":"2023-03-04T06:28:32.000Z","dependencies_parsed_at":"2023-02-05T09:32:00.907Z","dependency_job_id":null,"html_url":"https://github.com/ankeetmaini/docker-react-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ankeetmaini/docker-react-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Fdocker-react-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Fdocker-react-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Fdocker-react-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Fdocker-react-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankeetmaini","download_url":"https://codeload.github.com/ankeetmaini/docker-react-nginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankeetmaini%2Fdocker-react-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276580300,"owners_count":25667442,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T12:16:36.741Z","updated_at":"2025-09-23T13:02:35.153Z","avatar_url":"https://github.com/ankeetmaini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dockerized react-nginx app\n\n\u003e initial boilerplate taken from CRA.\n\n# running - dev\n\n```\ndocker-compose up --build\n```\n\n\u003e this will blow up the first time as there are no `node_modules`\n\n- ssh into the container for node\n```bash\ndocker-compose run app /bin/bash\nyarn\n\n# exit after yarn installs all the deps and run\n# `docker-compose up`\n```\n\n# containers (check [docker-compose.yml](./docker-compose.yml))\n- node container serving react\n- nginx container proxing requests to node\n\n# building docker images by hand\n- app\n\n```bash\ndocker build . -t docker-react\n# run it\ndocker container run -it --rm --name react docker-react:latest\n```\n\n- nginx\n\n```bash\ncd nginx\ndocker build . -t docker-nginx\n# run it\ndocker container run --publish 80:80 -it --rm docker-nginx:latest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankeetmaini%2Fdocker-react-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankeetmaini%2Fdocker-react-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankeetmaini%2Fdocker-react-nginx/lists"}