3

I'm trying to install a Magento 2 instance in a Docker context. The problem is that symlinks are not allowed in this context.

Is there any alternative to symlinks ? Or maybe, is there a way to desactivate them ?

Thank you in advance.

  • Why symlinks are not allowed? Do you mean symlinks on static files? – KAndy Dec 16 '15 at 10:28
  • First of all, Tanks for your answer. Yes, this is for static files, for example pub/static/frontend/Magento/luma/en_US/Magento_Reward/css/source/_module.less -> vendor/magento/theme-frontend-luma/Magento_Reward/web/css/source/_module.less – Benjamin Volle Dec 16 '15 at 10:33

1 Answers1

2

If you remove 574 line from di.xml the copy strategy will be used.

See Magento 2 404 error for scripts and css for details

KAndy
  • 20,811
  • 3
  • 49
  • 59