Error during build
ashmit-vermaTRIAL
10 months ago
1 [internal] load build definition from Dockerfile
1 transferring dockerfile: 1.50kB done
1 DONE 0.0s
2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1716249803
2 DONE 0.2s
3 [stage-0 1/8] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1716249803@sha256:5ef4d2021c418fcaabb56cea5ea9e24a5fdedfe27f58062d9689214dfed45c46
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: 183.44MB 2.6s done
6 DONE 2.7s
7 [3/5] COPY . /app/.
7 DONE 2.1s
8 [4/5] RUN docker-compose up --build
8 0.313 /bin/bash: line 1: docker-compose: command not found
8 ERROR: process "/bin/bash -ol pipefail -c docker-compose up --build" did not complete successfully: exit code: 127
[4/5] RUN docker-compose up --build:
0.313 /bin/bash: line 1: docker-compose: command not found
Dockerfile:15
13 | # build phase
14 | COPY . /app/.
15 | >>> RUN docker-compose up --build
16 |
17 |
ERROR: failed to solve: process "/bin/bash -ol pipefail -c docker-compose up --build" did not complete successfully: exit code: 127
Error: Docker build failed
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
10 months ago
docker-compose
is not supported by Railway, you will need to manually map your services in the docker-compose file to Railway services.