Vercel Functions に Dockerfile の直接利用をサポート
本文の状態
日本語全文を表示中
詳細モードで約1分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Vercel Blog
Vercel は、Fluid compute 上で OCI 互換イメージを使用し、Dockerfile または Containerfile から HTTP サーバーをデプロイ可能にする機能を追加した。これにより、あらゆる言語で書かれた既存アプリケーションを Vercel Functions のプレビューや自動スケーリングなどの利点を維持しながら移行できる。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
Vercel Functions では、Fluid compute 上で Open Container Initiative (OCI) 互換イメージを使用して、Dockerfile または Containerfile から HTTP サーバーをデプロイできるようになりました。
これにより、既存のあらゆる言語で書かれたアプリケーションを Vercel に持ち込みつつ、Vercel Functions と Fluid compute を利用する際のプレビューデプロイメント、ログ、ルーティング、自動スケーリングといったメリットを維持したままにすることが容易になります。
関数でコンテナイメージを使用するには、$PORT でリッスンする HTTP サーバーを開始する Dockerfile.vercel(または Containerfile.vercel)ファイルを含むプロジェクトを作成してください。
このイメージは、Vercel Container Registry への各コミットごとにビルドされ、プッシュされ、デプロイされます。
コンテナイメージの使用方法については、ドキュメントをご覧ください。
続きを読む
原文を表示
Vercel Functions now support deploying HTTP servers from a Dockerfile or Containerfile, using Open Container Initiative (OCI) compatible images on Fluid compute.
This makes it easier to bring existing applications written in any language to Vercel while keeping the preview deployments, logs, routing, and autoscaling benefits of using Vercel Functions and Fluid compute.
To use container images with your functions, create a project with a Dockerfile.vercel (or Containerfile.vercel) file that starts an HTTP server listening on $PORT:
This image will be built, pushed, and deployed on every commit to Vercel Container Registry.
Learn more about using container images in the docs.
Read more
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み