2 years ago
Hi, I'm encountering the following issue
21 | # build phase
22 | COPY . /app/.
23 | >>> RUN docker compose up --build && docker compose up -d && composer install && npm install && npm run dev && php artisan migrate --force && php artisan optimize && chmod 777 -R storage/ && chmod 777 -R bootstrap/cache && php artisan storage:link
24 |
25 |
ERROR: failed to solve: process "/bin/bash -ol pipefail -c docker compose up --build && docker compose up -d && composer install && npm install && npm run dev && php artisan migrate --force && php artisan optimize && chmod 777 -R storage/ && chmod 777 -R bootstrap/cache && php artisan storage:link" did not complete successfully: exit code: 127
Error: Docker build failed
My Laravel v9 project is on a docker container, I'm following a video on how to deploy it but it's different from my case because of the docker-compose.yml, any help would be great for me, I must deploy the project for the presentation to my teachers
ⓘ Deployment information is only viewable by project members and Railway employees.
6 Replies
2 years ago
RUN docker compose up --build && docker compose up
Railway does not support docker compose in any way.
2 years ago
So what's the solution for the problem?
2 years ago
but if my Laravel project is based on the container how can i solve that? "Extracting" the application from the docker container?
2 years ago
Okey, thanks for the help!