move pokt config inside the container

This commit is contained in:
czarly
2022-03-16 12:46:47 +04:00
parent 224326487c
commit 623c458776
3 changed files with 65 additions and 0 deletions

9
pokt/DockerFile Normal file
View File

@@ -0,0 +1,9 @@
FROM poktnetwork/pocket-core:RC-0.7.1
COPY config.json /home/app/.pocket/config/config.json
COPY chains.json /home/app/.pocket/config/chains.json
COPY bootstrap.sh /home/app/.pocket/bootstrap.sh
RUN chown 1005:1001 /home/app/.pocket/config/chains.json
CMD ["bash", "/home/app/.pocket/bootstrap.sh", "&&", "pocket", "start", "--seeds=${POCKET_MAIN_SEEDS}", "--mainnet"]