From 593a631a564926b5b118805b8bea13a753e4757d Mon Sep 17 00:00:00 2001 From: Simponic Date: Sat, 28 Jan 2023 22:56:10 -0700 Subject: Ensure board is flipped when starting a game as dark, move some constants to environment variables, minor frontend changes: --- build.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index aad5f57..1cf7f4e 100755 --- a/build.sh +++ b/build.sh @@ -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 -- cgit v1.3