1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-27 08:21:27 +00:00

Export resources while docker build - fix

This commit is contained in:
Vladimir Volek 2018-10-24 17:31:49 +02:00 committed by Szymon Lesisz
parent b1fe64867d
commit 15e4ee383f

View File

@ -4,8 +4,8 @@ cd "$(dirname "$0")"
if [[ "$1" == "dev" || "$1" == 'beta' || "$1" == 'prod' ]]
then
docker stop trezor-wallet
docker rm trezor-wallet
rm -rf ../build/$1
docker ps -q --filter "name=trezor-wallet" | grep -q . && docker stop trezor-wallet && docker rm -fv trezor-wallet
docker build -t trezor-wallet ../ --build-arg BUILD_TYPE=$1
docker run -p 8080:8080 -d --name trezor-wallet trezor-wallet:latest
docker cp trezor-wallet:/trezor-wallet-app/build/$1 ../build/