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

2 years 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?

Closed

14 Replies

samoriental
PROOP

2 years ago

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


2 years ago

nixpacks?


samoriental
PROOP

2 years ago

yes


2 years ago

are you using the new builder perhaps?


samoriental
PROOP

2 years ago

only if its on by default


2 years ago

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


samoriental
PROOP

2 years ago

1303060946104746055


samoriental
PROOP

2 years ago

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


samoriental
PROOP

2 years ago

i see the option in others


samoriental
PROOP

2 years ago

but not this one


2 years ago

check your build logs


samoriental
PROOP

2 years 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

2 years ago

context: e4cee50be79f133540b6c779545b50f1


2 years ago

what service are these logs from?


Welcome!

Sign in to your Railway account to join the conversation.

Loading...