very long build times (stuck on copy . /app/.

occasionally, i experience very long build times where certain services get stuck on COPY . /app/. for an extended period of time (ranging from 15 - 45 minutes). is there a way to resolve this?
12 Replies
Percy
Percy3w ago
Project ID: a70a938e-36ed-4c24-9c89-a4acda4ea886
sam.oriental
sam.orientalOP3w ago
a70a938e-36ed-4c24-9c89-a4acda4ea886
Brody
Brody3w ago
nixpacks?
sam.oriental
sam.orientalOP3w ago
yes
Brody
Brody3w ago
are you using the new builder perhaps?
sam.oriental
sam.orientalOP3w ago
only if its on by default
Brody
Brody3w ago
it's not, but you could have enabled it, check?
sam.oriental
sam.orientalOP3w ago
No description
sam.oriental
sam.orientalOP3w ago
i dont think i even have the new builder on this project i see the option in others but not this one
Brody
Brody3w ago
check your build logs
sam.oriental
sam.orientalOP3w ago
#0 building with "builder-ICOl" instance using docker-container driver



#1 [internal] load build definition from Dockerfile



#1 transferring dockerfile: 2.83kB done

#1 DONE 0.0s



#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1727136237

#2 DONE 0.1s







#3 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86

#3 resolve ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86 done

#3 DONE 0.0s



#4 [stage-0 2/10] WORKDIR /app/

#4 CACHED



#5 [internal] load .dockerignore

#5 transferring context: 2B done

#5 DONE 0.0s



#6 [internal] load build context



#6 transferring context: 214.83kB 0.0s done

#6 DONE 0.0s



#7 [stage-0 3/11] COPY .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix

#7 CACHED



#8 [stage-0 4/11] RUN nix-env -if .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix && nix-collect-garbage -d

#8 CACHED



#9 [stage-0 5/11] COPY . /app/.
#0 building with "builder-ICOl" instance using docker-container driver



#1 [internal] load build definition from Dockerfile



#1 transferring dockerfile: 2.83kB done

#1 DONE 0.0s



#2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1727136237

#2 DONE 0.1s







#3 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86

#3 resolve ghcr.io/railwayapp/nixpacks:ubuntu-1727136237@sha256:72cd12021740b1c4100a5c53c3b22974dacb86e4b0a35fcdd12605339de25b86 done

#3 DONE 0.0s



#4 [stage-0 2/10] WORKDIR /app/

#4 CACHED



#5 [internal] load .dockerignore

#5 transferring context: 2B done

#5 DONE 0.0s



#6 [internal] load build context



#6 transferring context: 214.83kB 0.0s done

#6 DONE 0.0s



#7 [stage-0 3/11] COPY .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix

#7 CACHED



#8 [stage-0 4/11] RUN nix-env -if .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix && nix-collect-garbage -d

#8 CACHED



#9 [stage-0 5/11] COPY . /app/.
context: e4cee50be79f133540b6c779545b50f1
Brody
Brody3w ago
what service are these logs from?
Want results from more Discord servers?
Add your server