Deployment failed during build process

luisvf06
TRIAL

a year ago

I am trying to deploy my api built using Laravel 11 and PHP 8.2 but everytime I get this error
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run build && composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force && php artisan passport:keys" did not complete successfully: exit code: 2

Error: Docker build failed

I have tried using a NIXPACKSBUILDCMD variable and a dockerfile, but both fail.

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

0 Replies