Open TonyBogdanov opened 2 months ago
Thanks for flagging up the issue @TonyBogdanov - will share it in the Docker channel on Slack and hopefully someone can jump in and take a look!
I have same problem using version image 5.1.0 from Docker Hub.
@mollux was there a reason for this line?: https://github.com/mautic/docker-mautic/blob/mautic5/fpm/Dockerfile#L62 It seems like it's causing a bunch of issues.
When running the docker image of mautic5, the asset generation of
media
files fails for a lot of JS files and outputs their paths instead of their contents.This issue was originally posted here: https://github.com/mautic/mautic/issues/13076, but I think this is the proper place for it.
The cause is this: https://github.com/mautic/docker-mautic/blob/084bcee5cc963379a8c519fe2fad4df8eeb37615/apache/Dockerfile#L62
All NPM packages are forcefully removed (apart from jquery and vimeo-froogaloop2) for some reason, but that breaks the on-the-fly generation of
media/js/libraries.js
for example.