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

a year ago

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?

14 Replies

samoriental
PROOP

a year ago

a70a938e-36ed-4c24-9c89-a4acda4ea886


a year ago

nixpacks?


samoriental
PROOP

a year ago

yes


a year ago

are you using the new builder perhaps?


samoriental
PROOP

a year ago

only if its on by default


a year ago

it's not, but you could have enabled it, check?


samoriental
PROOP

a year ago

1303060946104746000


samoriental
PROOP

a year ago

i dont think i even have the new builder on this project


samoriental
PROOP

a year ago

i see the option in others


samoriental
PROOP

a year ago

but not this one


a year ago

check your build logs


samoriental
PROOP

a year 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/.

samoriental
PROOP

a year ago

context: e4cee50be79f133540b6c779545b50f1


a year ago

what service are these logs from?


Loading...