2
0
Files
bot/docker-compose.build.yml

21 lines
521 B
YAML
Raw Normal View History

services:
2024-09-12 13:52:42 +02:00
builder:
build:
context: .
args:
- SCOPE=builder
2024-09-12 13:52:42 +02:00
viewer:
build:
context: .
args:
- SCOPE=viewer
2024-09-12 13:52:42 +02:00
### 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