build.sh: Build config from template

This commit is contained in:
Gernot Schulz 2020-08-14 14:39:01 +02:00 committed by Finn Stutzenstein
parent 4f194a8794
commit 63c4bc3ff7
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -74,6 +74,7 @@ cypress.json
## Deployment
# Docker build artifacts
/docker/docker-compose.yml
*-version.txt
# secrets
docker/secrets/*.env

View File

@ -1,4 +1,7 @@
#!/bin/bash
../server/build.sh -t openslides/openslides-server:latest
../client/build.sh -t openslides/openslides-client:latest
[[ -f docker-compose.yml ]] || m4 < docker-compose.yml.m4 > docker-compose.yml
docker-compose build