web3-proxy/bin/docker-compose-production-deploy
2022-07-25 18:55:44 +00:00

20 lines
353 B
Bash
Executable File

#!/bin/bash -eux
# change to the project's root directory
cd "${0%/*}/.."
# put our scripts on the path
export PATH="$(pwd)/bin:$PATH"
# build the image
docker-compose-production build --pull
# run the image
docker-compose-production up -d --remove-orphans
sleep 3
docker-compose-production ps
echo "$(pwd)/bin/docker-compose-production logs -f"