deployment failed in building stage
ghulammurtaza27
HOBBYOP
a year ago
[Region: us-west1]
==============
Using Nixpacks
==============
context: 2159f2145de5fadd58faf33e44b1b21d
╔══════════════ Nixpacks v1.29.1 ══════════════╗
║ build │ pip install -r requirements.txt ║
║──────────────────────────────────────────────║
║ setup │ go ║
║──────────────────────────────────────────────║
║ start │ python api/main.py ║
╚══════════════════════════════════════════════╝
0 building with "builder-LAyq" instance using docker-container driver
1 [internal] load build definition from Dockerfile
1 transferring dockerfile: 1.74kB done
1 DONE 0.0s
2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1731369831
2 DONE 0.1s
3 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1731369831@sha256:248c718af9f76e602170a3cdbf69658edf55c910023104e1f277e517b77977a0
3 resolve ghcr.io/railwayapp/nixpacks:ubuntu-1731369831@sha256:248c718af9f76e602170a3cdbf69658edf55c910023104e1f277e517b77977a0 done
3 DONE 0.0s
4 [stage-0 2/8] 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: 485.15kB 0.0s done
6 DONE 0.0s
7 [stage-0 3/7] COPY .nixpacks/nixpkgs-e89cf1c932006531f454de7d652163a9a5c86668.nix .nixpacks/nixpkgs-e89cf1c932006531f454de7d652163a9a5c86668.nix
7 CACHED
8 [stage-0 4/7] RUN nix-env -if .nixpacks/nixpkgs-e89cf1c932006531f454de7d652163a9a5c86668.nix && nix-collect-garbage -d
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
You need to set the root directory in the service settings under the source repo.