Skip to content

Commit

Permalink
feat: Add public/bundles mount in development πŸ§‘β€πŸ’»
Browse files Browse the repository at this point in the history
Rationale: the public/bundles folder is likely to be populated as soon as you install some bundles. Especially under Windows, there could be some issues during cache clearing and bundles asset installation.
  • Loading branch information
gremo committed Jul 3, 2023
1 parent c59547e commit 2552236
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ services:
target: php-dev
volumes:
- node_modules:/var/www/html/node_modules
- public_bundles:/var/www/html/public/bundles
- var:/var/www/html/var
- vendor:/var/www/html/vendor
- ./config/docker/php-fpm.conf:/usr/local/etc/php-fpm.d/zzz-app.conf:ro
Expand All @@ -28,5 +29,6 @@ services:
#ejs <%_ } %>
volumes:
node_modules:
public_bundles:
var:
vendor:

0 comments on commit 2552236

Please sign in to comment.