From 80b4136206e0eed4233bdf0b79073b9580a7e316 Mon Sep 17 00:00:00 2001 From: zontreck Date: Mon, 10 Feb 2025 03:18:05 -0700 Subject: [PATCH] Adjust port numbers --- bitcoin/explorer/Dockerfile | 4 +++- bitcoin/explorer/entrypoint.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bitcoin/explorer/Dockerfile b/bitcoin/explorer/Dockerfile index eb33f7b..06afe1c 100644 --- a/bitcoin/explorer/Dockerfile +++ b/bitcoin/explorer/Dockerfile @@ -4,6 +4,7 @@ USER root WORKDIR /root ENV BASH_ENV /root/.bash_env +ENV API_URL http://localhost:8332 RUN touch "${BASH_ENV}" RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | PROFILE="${BASH_ENV}" bash @@ -16,7 +17,8 @@ WORKDIR /app/explorer RUN npm install -EXPOSE 80 +EXPOSE 5000 + WORKDIR / ADD ./entrypoint.sh /entrypoint.sh RUN chmod +x entrypoint.sh diff --git a/bitcoin/explorer/entrypoint.sh b/bitcoin/explorer/entrypoint.sh index 3d26923..27d8f2d 100644 --- a/bitcoin/explorer/entrypoint.sh +++ b/bitcoin/explorer/entrypoint.sh @@ -3,4 +3,4 @@ cd /app/explorer source ~/.nvm/nvm.sh -npm start \ No newline at end of file +npm run dev-server \ No newline at end of file