Skip to content

Commit

Permalink
feat: add banners json ENV to build stage (forbole#1267)
Browse files Browse the repository at this point in the history
## Description

Closes: [BDU-1050](https://forbole.atlassian.net/browse/BDU-1050)

<!-- Add a description of the changes that this PR introduces and the
files that
are the most critical to review. -->

---

### Author Checklist

_All items are required. Please add a note to the item if the item is
not applicable and
please add links to any relevant follow up issues._

I have...

- [ ] ran linting via `yarn lint`
- [ ] wrote tests where necessary
- [ ] included the correct [type
prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json)
in the PR title
- [ ] targeted the correct branch
- [ ] provided a link to the relevant issue or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed
- [ ] added a changeset via [`yarn && yarn
changeset`](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md)


[BDU-1050]:
https://forbole.atlassian.net/browse/BDU-1050?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
rachelhox authored Jun 6, 2023
1 parent 04cf8bd commit c5853ea
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,30 @@ ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ARG NEXT_PUBLIC_CHAIN_TYPE
ENV NEXT_PUBLIC_CHAIN_TYPE=${NEXT_PUBLIC_CHAIN_TYPE}
ARG NEXT_PUBLIC_BANNERS_JSON
ENV NEXT_PUBLIC_BANNERS_JSON=${NEXT_PUBLIC_BANNERS_JSON}
ARG NEXT_PUBLIC_COINZILLA_ZONE
ENV NEXT_PUBLIC_COINZILLA_ZONE=${NEXT_PUBLIC_COINZILLA_ZONE}
ARG NEXT_PUBLIC_GRAPHQL_URL
ENV NEXT_PUBLIC_GRAPHQL_URL=${NEXT_PUBLIC_GRAPHQL_URL}
ARG NEXT_PUBLIC_GRAPHQL_WS
ENV NEXT_PUBLIC_GRAPHQL_WS=${NEXT_PUBLIC_GRAPHQL_WS}
ARG NEXT_PUBLIC_KEPLR_CHAIN_ID
ENV NEXT_PUBLIC_KEPLR_CHAIN_ID=${NEXT_PUBLIC_KEPLR_CHAIN_ID}
ARG NEXT_PUBLIC_KEPLR_CUSTOM_CHAIN_INFO
ENV NEXT_PUBLIC_KEPLR_CUSTOM_CHAIN_INFO=${NEXT_PUBLIC_KEPLR_CUSTOM_CHAIN_INFO}
ARG NEXT_PUBLIC_KEPLR_LCD_URL
ENV NEXT_PUBLIC_KEPLR_LCD_URL=${NEXT_PUBLIC_KEPLR_LCD_URL}
ARG NEXT_PUBLIC_MATOMO_URL
ENV NEXT_PUBLIC_MATOMO_URL=${NEXT_PUBLIC_MATOMO_URL}
ARG NEXT_PUBLIC_MATOMO_SITE_ID
ENV NEXT_PUBLIC_MATOMO_SITE_ID=${NEXT_PUBLIC_MATOMO_SITE_ID}
ARG NEXT_PUBLIC_NETWORK_NAME
ENV NEXT_PUBLIC_NETWORK_NAME=${NEXT_PUBLIC_NETWORK_NAME}
ARG NEXT_PUBLIC_RPC_WEBSOCKET
ENV NEXT_PUBLIC_RPC_WEBSOCKET=${NEXT_PUBLIC_RPC_WEBSOCKET}
ARG NEXT_PUBLIC_WC_BRIDGE_URL
ENV NEXT_PUBLIC_WC_BRIDGE_URL=${NEXT_PUBLIC_WC_BRIDGE_URL}
ARG NEXT_PUBLIC_SENTRY_DSN
ENV NEXT_PUBLIC_SENTRY_DSN=${NEXT_PUBLIC_SENTRY_DSN}
ARG SENTRY_AUTH_TOKEN
Expand Down Expand Up @@ -62,30 +86,6 @@ FROM ${BASE_IMAGE} AS runner
ARG PROJECT_NAME
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ARG NEXT_PUBLIC_BANNERS_JSON
ENV NEXT_PUBLIC_BANNERS_JSON=${NEXT_PUBLIC_BANNERS_JSON}
ARG NEXT_PUBLIC_COINZILLA_ZONE
ENV NEXT_PUBLIC_COINZILLA_ZONE=${NEXT_PUBLIC_COINZILLA_ZONE}
ARG NEXT_PUBLIC_GRAPHQL_URL
ENV NEXT_PUBLIC_GRAPHQL_URL=${NEXT_PUBLIC_GRAPHQL_URL}
ARG NEXT_PUBLIC_GRAPHQL_WS
ENV NEXT_PUBLIC_GRAPHQL_WS=${NEXT_PUBLIC_GRAPHQL_WS}
ARG NEXT_PUBLIC_KEPLR_CHAIN_ID
ENV NEXT_PUBLIC_KEPLR_CHAIN_ID=${NEXT_PUBLIC_KEPLR_CHAIN_ID}
ARG NEXT_PUBLIC_KEPLR_CUSTOM_CHAIN_INFO
ENV NEXT_PUBLIC_KEPLR_CUSTOM_CHAIN_INFO=${NEXT_PUBLIC_KEPLR_CUSTOM_CHAIN_INFO}
ARG NEXT_PUBLIC_KEPLR_LCD_URL
ENV NEXT_PUBLIC_KEPLR_LCD_URL=${NEXT_PUBLIC_KEPLR_LCD_URL}
ARG NEXT_PUBLIC_MATOMO_URL
ENV NEXT_PUBLIC_MATOMO_URL=${NEXT_PUBLIC_MATOMO_URL}
ARG NEXT_PUBLIC_MATOMO_SITE_ID
ENV NEXT_PUBLIC_MATOMO_SITE_ID=${NEXT_PUBLIC_MATOMO_SITE_ID}
ARG NEXT_PUBLIC_NETWORK_NAME
ENV NEXT_PUBLIC_NETWORK_NAME=${NEXT_PUBLIC_NETWORK_NAME}
ARG NEXT_PUBLIC_RPC_WEBSOCKET
ENV NEXT_PUBLIC_RPC_WEBSOCKET=${NEXT_PUBLIC_RPC_WEBSOCKET}
ARG NEXT_PUBLIC_WC_BRIDGE_URL
ENV NEXT_PUBLIC_WC_BRIDGE_URL=${NEXT_PUBLIC_WC_BRIDGE_URL}
ARG PORT
ENV PORT=${PORT:-3000}

Expand Down

0 comments on commit c5853ea

Please sign in to comment.