chessh/buildscripts/docker/build.sh

14 lines
340 B
Bash
Raw Normal View History

#!/bin/bash
2023-01-31 17:59:33 -05:00
env_file=../../.env.prod
export $(cat $env_file | xargs)
2023-01-31 17:59:33 -05:00
docker build ../.. -t chessh/server
docker build \
2023-01-31 16:01:35 -05:00
--build-arg REACT_APP_DISCORD_OAUTH=${REACT_APP_DISCORD_OAUTH} \
--build-arg REACT_APP_SSH_SERVER=${REACT_APP_SSH_SERVER} \
--build-arg REACT_APP_SSH_PORT=${REACT_APP_SSH_PORT} \
2023-01-31 19:40:50 -05:00
../../front -t chessh/frontend