blob: 57713847e9953e2fc0b2644f7c49290f0e3741d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
env_file=../../.env.prod
export $(cat $env_file | xargs)
docker build ../.. -t chessh/server
docker build \
--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} \
../../front -t chessh/frontend
|