You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running kamal setup the command errors that it cannot find the docker file.
INFO [0f784bc5] Running docker buildx inspect kamal-local-docker-container as miketaylor@localhost
INFO [0f784bc5] Finished in 0.133 seconds with exit status 0 (successful).
INFO [b6e7b96f] Running docker buildx build --push --platform linux/amd64 --builder kamal-local-docker-container -t 292743968775.dkr.ecr.us-east-1.amazonaws.com/maple/api:d1e232555319148ce35ec6e0ff36372c0cdc1084 -t 292743968775.dkr.ecr.us-east-1.amazonaws.com/maple/api:latest --label service="maple" --secret id="BUNDLE_GEMS__GRAPHQL__PRO" --secret id="BUNDLE_ENTERPRISE__CONTRIBSYS__COM" --file Dockerfile . as miketaylor@localhost
DEBUG [b6e7b96f] Command: docker buildx build --push --platform linux/amd64 --builder kamal-local-docker-container -t 292743968775.dkr.ecr.us-east-1.amazonaws.com/maple/api:d1e232555319148ce35ec6e0ff36372c0cdc1084 -t 292743968775.dkr.ecr.us-east-1.amazonaws.com/maple/api:latest --label service="maple" --secret id="BUNDLE_GEMS__GRAPHQL__PRO" --secret id="BUNDLE_ENTERPRISE__CONTRIBSYS__COM" --file Dockerfile .
DEBUG [b6e7b96f] #0 building with "kamal-local-docker-container" instance using docker-container driver
DEBUG [b6e7b96f]
DEBUG [b6e7b96f] #1 [internal] load build definition from Dockerfile
DEBUG [b6e7b96f] #1 transferring dockerfile: 2B done
DEBUG [b6e7b96f] #1 DONE 0.0s
DEBUG [b6e7b96f] ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
DEBUG [b6e7b96f]
DEBUG [b6e7b96f] View build details: docker-desktop://dashboard/build/kamal-local-docker-container/kamal-local-docker-container0/sjx7w6dnj276744gtw4u6p4tm
Finished all in 2.0 seconds
Releasing the deploy lock...
Finished all in 5.7 seconds
ERROR (SSHKit::Command::Failed): docker exit status: 256
docker stdout: Nothing written
docker stderr: #0 building with "kamal-local-docker-container" instance using docker-container driver#1 [internal] load build definition from Dockerfile#1 transferring dockerfile: 2B done#1 DONE 0.0s
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory
View build details: docker-desktop://dashboard/build/kamal-local-docker-container/kamal-local-docker-container0/sjx7w6dnj276744gtw4u6p4tm
To debug I copied the docker build command it tried to run that couldn't find the Docker file manually, and it succeeds. This seems like it could be a bug with Kamal.
When running
kamal setup
the command errors that it cannot find the docker file.To debug I copied the docker build command it tried to run that couldn't find the Docker file manually, and it succeeds. This seems like it could be a bug with Kamal.
When I view the logs in docker desktop, it doesn't provide much more info other than it couldn't transfer the file?
Any idea why
kamal setup
won't find the dockerfile, but manually running the same command will find the Dockerfile?The text was updated successfully, but these errors were encountered: