It 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.
Here you can find example Refine Dockerfiles for nextjs, remix and vite projects.
Navigate to each folder to see the Dockerfile and their README's.
These Dockerfiles uses Docker's multi-stage build best practices for security and optimizing image sizes.
Final image runs application with non-root user and only includes production artifacts.
In your project root:
docker build -t nextjs -f ./Dockerfile .
docker run -p 3000:3000 nextjsIn your project root:
docker build -t remix -f ./Dockerfile .
docker run -p 3000:3000 remixIn your project root:
docker build -t vite -f ./Dockerfile.nginx .
docker run -p 5173:80 vite
# or
docker build -t vite -f ./Dockerfile.serve .
docker run -p 5173:3000 vite