diff options
| author | Simponic <elizabeth.hunt@simponic.xyz> | 2023-01-28 22:56:10 -0700 |
|---|---|---|
| committer | Simponic <elizabeth.hunt@simponic.xyz> | 2023-01-28 22:56:10 -0700 |
| commit | 593a631a564926b5b118805b8bea13a753e4757d (patch) | |
| tree | 3f2a5460eda4ef19142b20386c7dee001f4675b5 /build.sh | |
| parent | bb66cd91a3e76e9b746750de51b5edd34b5d2259 (diff) | |
| download | chessh-593a631a564926b5b118805b8bea13a753e4757d.tar.gz chessh-593a631a564926b5b118805b8bea13a753e4757d.zip | |
Ensure board is flipped when starting a game as dark, move some constants to environment variables, minor frontend changes:
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1,16 +1,14 @@ #!/bin/bash env_file=.env.prod -started_in=$PWD export $(cat $env_file | xargs) +docker build . -t chessh/server + cd front docker build \ --build-arg REACT_APP_GITHUB_OAUTH=${REACT_APP_GITHUB_OAUTH} \ --build-arg REACT_APP_SSH_SERVER=${REACT_APP_SSH_SERVER} \ --build-arg REACT_APP_SSH_PORT=${REACT_APP_SSH_PORT} \ . -t chessh/frontend - -cd $started_in -docker build . -t chessh/server |
