Комментарии:
can you use the mysql db that in your localhost, is there way to upload it. I didnt use migrations
ОтветитьWhen deploying I receive this error:
ERROR: failed to solve: process "/bin/bash -ol pipefail -c composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force" did not complete successfully: exit code: 1
Error: Docker build failed
I have ERROR
COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix
8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
9 |
10 | COPY .nixpacks/assets /assets/
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
Error: Docker build failed"
Thanks for this video sir... But im getting "deployment failed" after setup. What could be the problem?
Ответитьwould you mind shairing your docker file?
Ответитьi got this errors while deploying how to solve this
ERROR: failed to solve: process "/bin/bash -ol pipefail -c composer install --ignore-platform-reqs" did not complete successfully: exit code: 255
Error: Docker build failed
how about install npm sir?
is there something wrong if i use this?
NIXPACKS_BUILD_CMD= npm run build && composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force
am getting this error
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
NIXPACKS_BUILD_CMD=composer install && php artisan optimize:clear && php artisan storage:link && php artisan migrate --force
Ответить