14 lines
349 B
YAML
14 lines
349 B
YAML
|
|
version: '3.8'
|
||
|
|
|
||
|
|
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
|