2
0
Files
bot/docker-compose.build.yml
2024-09-12 13:52:42 +02:00

21 lines
521 B
YAML

services:
builder:
build:
context: .
args:
- SCOPE=builder
viewer:
build:
context: .
args:
- SCOPE=viewer
### Befehle:
## Ohne Compose, aber mit "--platform"
# docker buildx build --platform linux/amd64 --build-arg SCOPE=builder --load -t bls-bot-builder:<TAG> .
# docker buildx build --platform linux/amd64 --build-arg SCOPE=viewer --load -t bls-bot-viewer:<TAG> .
## Mit Compose, aber ohne "--platform"
# docker-compose -f docker-compose.build.yml build