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 88e5a2c commit 3af86c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions docker/rpcnode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ ARG RETAIN_BLOCKS
# PEERS
####################################

RUN echo "Acquire::http::Pipeline-Depth 0;" > /etc/apt/apt.conf.d/99custom && \
echo "Acquire::http::No-Cache true;" >> /etc/apt/apt.conf.d/99custom && \
echo "Acquire::BrokenProxy true;" >> /etc/apt/apt.conf.d/99custom

RUN apt update && apt upgrade -y \
&& apt -y install ca-certificates jq curl vim wget

Expand Down
4 changes: 3 additions & 1 deletion docker/rpcnode/start.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/usr/bin/env bash

set -e

export LD_LIBRARY_PATH="$LD_LIBRARY_PATH":/home/nym
APP_NAME=nyxd
VALIDATOR_DATA_DIRECTORY="/home/nym/.${APP_NAME}"

# initialise the validator
./${APP_NAME} init "${CHAIN_ID}" --chain-id "${CHAIN_ID}" --default-denom ${STAKE_DENOM} 2>/dev/null
./${APP_NAME} init "${CHAIN_ID}" --chain-id "${CHAIN_ID}" --default-denom ${STAKE_DENOM}

sleep 2

Expand Down

0 comments on commit 3af86c8

Please sign in to comment.