前提
XAMPPでPHP、Laravelで作成したものを公開しようと思いfly.ioのRun a Laravel App · Fly Docsを見ながらデプロイしてみたところ、画像のようなエラーが出てきました。
申し訳ないのですが、初心者のため詳しいことはわかりません。
何卒よろしくお願いします。
実現したいこと
- fly.ioへデプロイできるようにしたい。
発生している問題・エラーメッセージ
Your app is ready. Deploy with `flyctl deploy` C:\~>flyctl deploy ==> Verifying app config --> Verified app config ==> Building image Remote builder fly-builder-crimson-sound-7092 ready ==> Creating build context --> Creating build context done ==> Building image with Docker --> docker host: 20.10.12 linux x86_64 Sending build context to Docker daemon 64.3kB [+] Building 2.2s (4/4) FINISHED => [internal] load remote build context 0.0s => copy /context / 0.1s => resolve image config for docker.io/docker/dockerfile:experimental 2.0s => CACHED docker-image://docker.io/docker/dockerfile:experimental@~~~~~~~~~~ 0.0s Error failed to fetch an image or build from source: error building: failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to create LLB definition: circular dependency detected on stage: base
試したこと
PHPのバージョンが異なっていたのでXAMPPから入れ直した。
envのAPP_URLを変更しろとの記載があったので.envファイルにダブルクオーテーションつきの場合となしの場合のデプロイ先のURLを入れたが変わりません。
補足情報(FW/ツールのバージョンなど)
Windows 11
PHP 8.1.6
Composer 2.4.1
Laravel Framework 9.29.0
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。