- Use modern Compose file naming convention - Remove deprecated version specification - Update command example to use 'docker compose' Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
12 lines
333 B
YAML
12 lines
333 B
YAML
services:
|
|
security-lint:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: php-security-linter:latest
|
|
volumes:
|
|
# Mount the target directory as read-only
|
|
- ${TARGET_PATH:-.}:/target:ro
|
|
# Default command can be overridden
|
|
# Example: docker compose run --rm security-lint /target/app -s high
|