Error during instalation of packages command

gonchalo1TRIAL

a year ago

This is my command in the .env file:

NIXPACKSBUILDCMD=composer install && npm install --production && php artisan optimize && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force

The rest doen't work:

Dockerfile:25

23 | # build phase

24 | COPY . /app/.

25 | >>> RUN composer install && npm install --production && php artisan optimize && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force

26 |

27 |

ERROR: failed to solve: process "/bin/bash -ol pipefail -c composer install && npm install --production && php artisan optimize && php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force" did not complete successfully: exit code: 1

Error: Docker build failed

View Deploy details

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

0 Replies