build(docker): use Tailwind CLI for generating CSS
This commit is contained in:
parent
84963c8a31
commit
29014d1c56
11 changed files with 89 additions and 4199 deletions
17
docker-compose.override.yaml.example
Normal file
17
docker-compose.override.yaml.example
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue