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
11 lines
322 B
Docker
11 lines
322 B
Docker
FROM golang:buster as go_builder
|
|
RUN apt update && apt install -y git build-essential
|
|
COPY setup.sh .
|
|
RUN ./setup.sh
|
|
|
|
FROM ubuntu:20.04
|
|
COPY --from=go_builder /go/wasmd/build/nymd /root/nymd
|
|
COPY --from=go_builder /go/wasmd/build/libwasmvm.so /root/libwasmvm.so
|
|
COPY init_and_start.sh .
|
|
ENTRYPOINT ["./init_and_start.sh"]
|