GitHubスライド | slidict.io

メッセージを読み込み中

RefineDockerfiles

  • ユーザー:
  • 最終更新: 2025/07/05
  • 読み取り時間: 00:54

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.

Usage

NextJS

In your project root:

docker build -t nextjs -f ./Dockerfile .

docker run -p 3000:3000 nextjs

Remix

In your project root:

docker build -t remix -f ./Dockerfile .

docker run -p 3000:3000 remix

Vite

In 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
著者:
refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unma...

Access

0 回

シンプルでエレガントなプレゼン。slidict.io - プロフェッショナルなスライド作成を実現

プレゼンを変革する。ログインしてslidict.ioを体験しよう!