PHP/Composer commands not executed from current directory #367
Replies: 1 comment 11 replies
-
|
Sorry for the trouble. This bug was reported in issue #364 and fixed in #366 today. The patched Docker images have also been updated. Please pull the latest image and try again. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am currently using shinsenter/php:8.4-frankenphp. But since last week build, when I try to run PHP or composer commands from my container instance (composer install or php artisan route:list for example), it runs as if I executed the command from var/www/html.
I've work with your tool for a long time, and I never had this problem. I could simply go to var/www/html/myProjectA, and run all the necessary commands from here.
I found that the problem might be with the new "in-app" utils. In the container, there is a alias for both composer and php (in /user/local/aliases/composer + /user/local/aliases/php).
#!/usr/bin/env shexec in-app /usr/local/bin/composer "$@"If I remove the "in-app" part, it works like before, my command are executed from my position.
Is there a config that could fix the command execution problem?
Here is my docker-compose php section :
And here is my frankenphp_dockerfile :
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions