oliverdavies.uk-drupal-old/docker-compose.override.yaml.example

23 lines
413 B
Plaintext
Raw Normal View History

x-assets: &default-assets
build:
context: .
target: assets
args:
- "NODE_ENV=${NODE_ENV:-production}"
env_file:
- .env
tty: true
volumes:
- '.:/app'
services:
css:
<<: *default-assets
command: 'yarn build:css'
working_dir: /app/web/themes/custom/opdavies
js:
<<: *default-assets
command: 'yarn build:js'
working_dir: /app/web/themes/custom/opdavies