c0be2330b0
* Add validator Docker container * Add Docker contract upload container Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net> * Add docker-compose for validators and building deploy container * One Docker image for each component * Switch from hal to punk * Add nym wallet docker * Point web browser to the correct IP * Better message parsing * Rebase on the wallet merge * Rename upload contract entrypoint script * Remove unnecessary bash magic * Put the contract image in the docker dir * Put the wallet-web image in the docker dir * Add some read-only specifiers to volumes * Move typescript container code in docker directory Also update lock files, as the containers work on a volume binded to the local filesystem * Fix volume permissions * Add mnemonic echo * Remove magic sleep value from secondary validator * Adding README.md to the docker directory * Change ENTRYPOINT to CMD for the typescript client image
10 lines
199 B
Bash
Executable File
10 lines
199 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Wait for the mnemonic to be generated
|
|
while ! [ -s /genesis_volume/genesis_mnemonic ]; do
|
|
sleep 1
|
|
done
|
|
|
|
echo "This is the current mnemonic:"
|
|
cat /genesis_volume/genesis_mnemonic
|