You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM composer:latest AS composer
WORKDIR /app
COPY . ./
RUN composer install --ignore-platform-reqs --no-interaction --quiet --optimize-autoloader --no-dev
There is already a plugin in /wordpress/wp-content/plugins and a theme in ./wordpress/wp-content/themes.
When I docker build, Wordpress gets installed in the ./wordpress folder correctly. However all the plugins that existed before are gone and the one specified in the composer.json file are not there (the remain in the /vendor and re not processed)
If I run composer install locally, it behaves as expected.
Any clue what step I am missing?
Cheers.
The text was updated successfully, but these errors were encountered:
Hey @sylvain-sonnen, I think this will be hard to work out without knowing more about the project structure – volume mounts etc.
I'm pretty sure I have successfully used Wpackagist in Docker with existing, hard-coded plugins in the installer-paths alongside the Wpackagist ones.
As far as your Wpackagist plugin install goes, the first thing I'd try is removing --ignore-platform-reqs --no-interaction --quiet so you get more output and get some more assurance that your system is compatible with the packages you're asking for – at least the non-WordPress ones.
Hi guys,
I can't seem to make this work, I can't to find the right combo:
I have the following
composer.json
:and this
Dockerfile
There is already a plugin in
/wordpress/wp-content/plugins
and a theme in./wordpress/wp-content/themes
.When I docker build, Wordpress gets installed in the
./wordpress
folder correctly. However all the plugins that existed before are gone and the one specified in thecomposer.json
file are not there (the remain in the/vendor
and re not processed)If I run composer install locally, it behaves as expected.
Any clue what step I am missing?
Cheers.
The text was updated successfully, but these errors were encountered: