After fly auth login
, the execution information is as follows:
> fly launch
Creating app in /Users/xxx/1618-RealChar
An existing fly.toml file was found for app realchar-backend
? Would you like to copy its configuration to the new app? Yes
Scanning source code
Detected a Dockerfile app
? Choose an app name (leaving blank will default to 'realchar-backend')
automatically selected personal organization: kevintao1024
App will use 'sin' region as primary
Created app 'realchar-backend' in organization 'personal'
Admin URL: https://fly.io/apps/realchar-backend
Hostname: realchar-backend.fly.dev
? Would you like to set up a Postgresql database now? No
? Would you like to set up an Upstash Redis database now? No
Wrote config file fly.toml
? Would you like to deploy now? Yes
Validating /Users/xxx/1618-RealChar/fly.toml
Platform: machines
✓ Configuration is valid
==> Building image
Remote builder fly-builder-patient-darkness-8330 ready
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 247.3s (12/12) FINISHED
=> [internal] load build definition from Dockerfile 0.2s
=> => transferring dockerfile: 644B 0.2s
=> [internal] load .dockerignore 0.3s
=> => transferring context: 9.94kB 0.3s
=> [internal] load metadata for docker.io/library/python:slim 2.0s
=> [internal] load build context 16.3s
=> => transferring context: 41.91MB 16.3s
=> [1/7] FROM docker.io/library/python:slim@sha256:c4992301d47a4f1d3e73c034494c080132f9a4090703babfcfa3317f7ba544 0.7s
=> => resolve docker.io/library/python:slim@sha256:c4992301d47a4f1d3e73c034494c080132f9a4090703babfcfa3317f7ba544 0.0s
=> => sha256:3542a2fcc89c24f7f4ed6fa6b1892175452cf8b612cc86168bd849b48b092a95 1.37kB / 1.37kB 0.0s
=> => sha256:d64578606786dceea96323c288b03a620ec6c98df8ba78d02b607fe90fd6008c 6.93kB / 6.93kB 0.0s
=> => sha256:0997a297b1044dfa3f763445f98c8ff3aba12388a2b065b946e300186829099f 12.83MB / 12.83MB 0.2s
=> => sha256:26d7810ad132b262d5a6a6a31d90176cd77e07010ddbb2b6bb8a310a9f370ccb 245B / 245B 0.0s
=> => sha256:ac2674ddc9ab0a9809a44138607d96f474d1ad456566460071f4a0c1332b0757 3.39MB / 3.39MB 0.1s
=> => sha256:c4992301d47a4f1d3e73c034494c080132f9a4090703babfcfa3317f7ba54461 1.65kB / 1.65kB 0.0s
=> => extracting sha256:0997a297b1044dfa3f763445f98c8ff3aba12388a2b065b946e300186829099f 0.3s
=> => extracting sha256:26d7810ad132b262d5a6a6a31d90176cd77e07010ddbb2b6bb8a310a9f370ccb 0.0s
=> => extracting sha256:ac2674ddc9ab0a9809a44138607d96f474d1ad456566460071f4a0c1332b0757 0.2s
=> [2/7] RUN apt-get update && apt-get install -y build-essential portaudio19-dev libffi-dev libssl-dev ffmpeg 39.4s
=> [3/7] WORKDIR /realtime_ai_character 0.0s
=> [4/7] COPY requirements.txt /realtime_ai_character 0.0s
=> [5/7] RUN pip install -r /realtime_ai_character/requirements.txt 167.3s
=> [6/7] COPY ./ /realtime_ai_character 0.2s
=> [7/7] RUN chmod +x /realtime_ai_character/entrypoint.sh 0.2s
=> exporting to image 37.0s
=> => exporting layers 37.0s
=> => writing image sha256:26078b8e10622c4d0c62fe8c2fd9ab8a3dde2803e8bf872d9e7776d055bc4813 0.0s
=> => naming to registry.fly.io/realchar-backend:deployment-01H8X0MPEM8VQ5N8FERDMYDHEP 0.0s
--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/realchar-backend]
5dcd26f70186: Pushed
da91035a0b7f: Pushed
35b7c32eab97: Pushing [==================================================>] 7.82GB/7.82GB
e5e13251d0ac: Pushed
d826b073754d: Pushed
beb37a2860a0: Pushed
4b8b70e00835: Pushed
20cf8b3e255a: Pushed
efd2038d3e6b: Pushed
5b60283f3630: Pushed
511780f88f80: Pushed
Error: failed to fetch an image or build from source: error rendering push status stream: unknown: unknown error
When Pushing image to fly
, re-push several times and finally fail.
The current fly plan is personal, and the Docker image is 7G. Is it because of insufficient resources? How to troubleshoot and solve?