Skip to content

Commit

Permalink
ci: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fmorency committed Nov 19, 2024
1 parent c6115f1 commit 2255b9a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ ENV NEXT_PUBLIC_TESTNET_RPC_URL=${NEXT_PUBLIC_TESTNET_RPC_URL}
ENV NEXT_PUBLIC_MAINNET_API_URL=${NEXT_PUBLIC_MAINNET_API_URL}
ENV NEXT_PUBLIC_TESTNET_API_URL=${NEXT_PUBLIC_TESTNET_API_URL}

RUN echo Base: $NEXT_PUBLIC_CHAIN
RUN echo Base: $NEXT_PUBLIC_CHAIN_ID
RUN echo Base: $NEXT_PUBLIC_TESTNET_CHAIN_ID
RUN echo Base: $NEXT_PUBLIC_MAINNET_RPC_URL
RUN echo Base: $NEXT_PUBLIC_TESTNET_RPC_URL
RUN echo Base: $NEXT_PUBLIC_MAINNET_API_URL
RUN echo Base: $NEXT_PUBLIC_TESTNET_API_URL


# Install dependencies only when needed
FROM base AS deps
Expand Down Expand Up @@ -48,6 +56,14 @@ COPY . .
# Uncomment the following line in case you want to disable telemetry during the build.
ENV NEXT_TELEMETRY_DISABLED=1

RUN echo Builder: $NEXT_PUBLIC_CHAIN
RUN echo Builder: $NEXT_PUBLIC_CHAIN_ID
RUN echo Builder: $NEXT_PUBLIC_TESTNET_CHAIN_ID
RUN echo Builder: $NEXT_PUBLIC_MAINNET_RPC_URL
RUN echo Builder: $NEXT_PUBLIC_TESTNET_RPC_URL
RUN echo Builder: $NEXT_PUBLIC_MAINNET_API_URL
RUN echo Builder: $NEXT_PUBLIC_TESTNET_API_URL

RUN \
if [ -f yarn.lock ]; then yarn run build; \
elif [ -f package-lock.json ]; then npm run build; \
Expand Down

0 comments on commit 2255b9a

Please sign in to comment.