1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 02:38:18 +00:00

Set current dir in bash - call script from anywhere

This commit is contained in:
Vladimir Volek 2018-10-02 15:48:51 +02:00 committed by Szymon Lesisz
parent 666869f77d
commit 116a912a48
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
set -e
cd "$(dirname "$0")"
docker build -t trezor-wallet ../ docker build -t trezor-wallet ../

View File

@ -1,2 +1,3 @@
#!/bin/bash #!/bin/bash
docker run -p 8080:8080 -d trezor-wallet:latest docker run -p 8080:8080 -d trezor-wallet:latest