{"id":18573656,"url":"https://github.com/refinedev/dockerfiles","last_synced_at":"2025-04-10T07:32:20.651Z","repository":{"id":218046255,"uuid":"745024332","full_name":"refinedev/dockerfiles","owner":"refinedev","description":"Dockerfile examples for Refine projects.","archived":false,"fork":false,"pushed_at":"2024-01-19T11:55:30.000Z","size":338,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T09:40:26.306Z","etag":null,"topics":["docker","dockerfile","nextjs","react","refine","remix","vite"],"latest_commit_sha":null,"homepage":"https://refine.dev","language":"Dockerfile","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/refinedev.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-18T13:47:00.000Z","updated_at":"2024-04-23T09:55:09.000Z","dependencies_parsed_at":"2024-01-19T12:57:25.467Z","dependency_job_id":null,"html_url":"https://github.com/refinedev/dockerfiles","commit_stats":null,"previous_names":["refinedev/dockerfiles"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinedev%2Fdockerfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinedev%2Fdockerfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinedev%2Fdockerfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refinedev%2Fdockerfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refinedev","download_url":"https://codeload.github.com/refinedev/dockerfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223430255,"owners_count":17143625,"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","dockerfile","nextjs","react","refine","remix","vite"],"created_at":"2024-11-06T23:11:34.477Z","updated_at":"2024-11-06T23:11:35.009Z","avatar_url":"https://github.com/refinedev.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" style=\"margin: 30px;\"\u003e\n  \u003ca href=\"https://refine.dev\"\u003e\n    \u003cimg alt=\"refine logo\" src=\"https://refine.ams3.cdn.digitaloceanspaces.com/readme/refine-readme-banner.png\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://refine.dev\"\u003eHome Page\u003c/a\u003e |\n  \u003ca href=\"https://discord.gg/refine\"\u003eDiscord\u003c/a\u003e |\n  \u003ca href=\"https://refine.dev/examples/\"\u003eExamples\u003c/a\u003e |\n  \u003ca href=\"https://refine.dev/blog/\"\u003eBlog\u003c/a\u003e |\n  \u003ca href=\"https://refine.dev/docs/\"\u003eDocumentation\u003c/a\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n[![Discord](https://img.shields.io/discord/837692625737613362.svg?label=\u0026logo=discord\u0026logoColor=ffffff\u0026color=7389D8\u0026labelColor=6A7EC2)](https://discord.gg/refine)\n[![Twitter Follow](https://img.shields.io/twitter/follow/refine_dev?style=social)](https://twitter.com/refine_dev)\n\n\u003ca href=\"https://www.producthunt.com/posts/refine-3?utm_source=badge-top-post-badge\u0026utm_medium=badge\u0026utm_souce=badge-refine\u0026#0045;3\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=362220\u0026theme=light\u0026period=daily\" alt=\"refine - 100\u0026#0037;\u0026#0032;open\u0026#0032;source\u0026#0032;React\u0026#0032;framework\u0026#0032;to\u0026#0032;build\u0026#0032;web\u0026#0032;apps\u0026#0032;3x\u0026#0032;faster | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\n\u003c/div\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv align=\"center\"\u003erefine is an open-source, headless React framework for developers building enterprise internal tools, admin panels, dashboards, B2B applications.\n\n\u003cbr/\u003e\n\nIt eliminates repetitive tasks in CRUD operations and provides industry-standard solutions for critical project components like **authentication**, **access control**, **routing**, **networking**, **state management**, and **i18n**.\n\n\u003c/div\u003e\n\n# Refine Dockerfiles\n\nHere you can find example Refine Dockerfiles for `nextjs`, `remix` and `vite` projects.\n\nNavigate to each folder to see the Dockerfile and their README's.\n\nThese Dockerfiles uses [Docker's multi-stage build best practices](https://docs.docker.com/develop/develop-images/dockerfile_best-practices) for security and optimizing image sizes.\n\nFinal image runs application with `non-root` user and only includes production artifacts.\n\n## Usage\n\n### NextJS\n\nIn your project root:\n\n```bash\ndocker build -t nextjs -f ./Dockerfile .\n\ndocker run -p 3000:3000 nextjs\n```\n\n### Remix\n\nIn your project root:\n\n```bash\ndocker build -t remix -f ./Dockerfile .\n\ndocker run -p 3000:3000 remix\n```\n\n### Vite\n\nIn your project root:\n\n```bash\ndocker build -t vite -f ./Dockerfile.nginx .\n\ndocker run -p 5173:80 vite\n\n# or\n\ndocker build -t vite -f ./Dockerfile.serve .\n\ndocker run -p 5173:3000 vite\n```\n\n## Documentation\n\n- [Refer to documentation for more info about refine](https://refine.dev/docs/).\n- [Step up to refine tutorials](https://refine.dev/docs/tutorial/introduction/index/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefinedev%2Fdockerfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefinedev%2Fdockerfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefinedev%2Fdockerfiles/lists"}