Skip to content

Commit

Permalink
Arthera devnet, fix containers
Browse files Browse the repository at this point in the history
  • Loading branch information
artheraone committed Sep 25, 2023
1 parent ba5a8a7 commit b3446e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ RUN apk add --update nodejs npm
RUN mix compile && npm install npm@latest

# Add blockscout npm deps
RUN cd apps/block_scout_web/assets/ && \
npm install && \
npm run deploy && \
cd /app/apps/explorer/ && \
npm install
#RUN cd apps/block_scout_web/assets/ && \
# npm install && \
# npm run deploy && \
# cd /app/apps/explorer/ && \
# npm install

RUN export "CFLAGS=-I/usr/local/include -L/usr/local/lib" && cd deps/ex_secp256k1 && mix deps.get && mix compile
RUN mix phx.digest
Expand All @@ -67,6 +67,6 @@ RUN apk --no-cache --update add jq curl
WORKDIR /app

COPY --from=builder /opt/release/blockscout .
COPY --from=builder /app/apps/explorer/node_modules ./node_modules
#COPY --from=builder /app/apps/explorer/node_modules ./node_modules
COPY --from=builder /app/config/config_helper.exs ./config/config_helper.exs
COPY --from=builder /app/config/config_helper.exs /app/releases/${RELEASE_VERSION}/config_helper.exs
2 changes: 1 addition & 1 deletion docker/build-arthera-image.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export RELEASE_VERSION=5.2.3-beta
export RELEASE_VERSION=5.2.3
export BS_CONTAINER_IMAGE=arthera/blockscout

docker build -f ./Dockerfile -t "$BS_CONTAINER_IMAGE:$RELEASE_VERSION" \
Expand Down

0 comments on commit b3446e6

Please sign in to comment.