oliverdavies.uk/docker-compose.override.yaml.example
Oliver Davies b0990f7edb build(docker): move Markdownlint
Move Markdownlint into the main Dockerfile and a service to the Docker
Compose override file.
2022-01-12 22:14:33 +00:00

33 lines
558 B
Plaintext

x-assets: &default-assets
build:
context: "."
target: "assets"
env_file:
- ".env"
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
stop_grace_period: "3s"
tty: true
volumes:
- ".:/app"
services:
adr-tools:
image: "opdavies/adr-tools"
volumes:
- "./:/adr"
css:
<<: *default-assets
command: "./run yarn:build:css"
js:
<<: *default-assets
command: "./run yarn:build:js"
markdownlint:
build:
context: "."
target: "markdownlint"
volumes:
- "./source:/data/source"