composer command #14
Replies: 2 comments 2 replies
-
Thank you for the suggestion. In my Dockerfile you can see I have commented out the php/src/webapps/cakephp4/Dockerfile Line 24 in 002001c I also have a small script to change the correct working directory when user starts php/src/base-ubuntu/root/root/.bashrc Lines 71 to 74 in 002001c Since the default path to the Regarding the composer issue you mentioned, I will find out later. Best regards. |
Beta Was this translation helpful? Give feedback.
-
@viniciusbig |
Beta Was this translation helpful? Give feedback.
-
I'm using your CakePHP4 image and its awesome!
But with the default image, the composer command will not work
Thats because
WORKDIR
is setted to/
instead of $WEBHOMEThere is no composer.json in the root folder.
I've fixed this by creating my own image based on yours but I think this should be the default for all PHP images.
The workdir should probably always point to WEBHOME variable
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions