36 lines
647 B
YAML
36 lines
647 B
YAML
services:
|
|
test:
|
|
image: gaza-protocol-test:local
|
|
build:
|
|
context: .
|
|
target: test
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
- /app/dist
|
|
- /app/dist-tests
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
build:
|
|
image: gaza-protocol-build:local
|
|
build:
|
|
context: .
|
|
target: build
|
|
command: ["npm", "run", "build"]
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
- /app/dist
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
production:
|
|
image: gaza-protocol:local
|
|
build:
|
|
context: .
|
|
target: production
|
|
read_only: true
|
|
security_opt:
|
|
- no-new-privileges:true
|