Skip to content

Commit

Permalink
fix: rpcnode
Browse files Browse the repository at this point in the history
  • Loading branch information
farbanas committed Nov 20, 2024
1 parent a45b9df commit 88e5a2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/rpcnode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ARG RETAIN_BLOCKS
# DENOM
# STAKE_DENOM
# VALIDATOR_ENDPOINT
# PEERS
####################################

RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && \
Expand Down Expand Up @@ -54,4 +55,6 @@ VOLUME /home/nym/output
COPY start.sh .
RUN chmod +x *.sh

USER nym

ENTRYPOINT ["./start.sh"]
2 changes: 1 addition & 1 deletion docker/rpcnode/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ sed -i "s|^rpc_servers =.*|rpc_servers = \"$SNAP_RPC,$SNAP_RPC\"|" "${HOME}/.nyx
sed -i "s|^trust_height =.*|trust_height = $BLOCK_HEIGHT|" "${HOME}/.nyxd/config/config.toml"
sed -i "s|^trust_hash =.*|trust_hash = \"$TRUST_HASH\"|" "${HOME}/.nyxd/config/config.toml"

./${APP_NAME} start &
./${APP_NAME} start

0 comments on commit 88e5a2c

Please sign in to comment.