Last active
August 12, 2024 09:31
-
-
Save r3cha/d3f946d55b4a955abc72eb7198229919 to your computer and use it in GitHub Desktop.
Two separate services for assets compilation with cssbundling-rails and jsbundling-rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
css: | |
image: initapp-rails | |
env_file: | |
- .docker.env | |
- .env | |
volumes: | |
- ./:/app:c | |
- cache:/app/tmp/cache:d | |
- bundle:/usr/local/bundle:ro | |
- node_modules:/app/node_modules:ro | |
command: yarn build:css --watch | |
js: | |
image: initapp-rails | |
env_file: | |
- .docker.env | |
- .env | |
volumes: | |
- ./:/app:c | |
- cache:/app/tmp/cache:d | |
- bundle:/usr/local/bundle:ro | |
- node_modules:/app/node_modules:ro | |
command: yarn build --watch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment