Skip to content

Commit

Permalink
Merge branch 'staging'
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier506 committed Sep 8, 2021
2 parents 45a62ff + a179f1a commit 1921f43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ HASURA_GRAPHQL_ACTION_BASE_URL=http://hapi:9090
# WEBAPP
REACT_APP_RATING_CONTRACT=rateproducer
REACT_APP_MAINNET_VERSION=true
REACT_APP_EDEN_CONTRACT=genesis.eden // if is jungle genesisdeden
REACT_APP_EDEN_CONTRACT=genesis.eden
REACT_APP_GRAPHQL_HTTP_URL=http://localhost:8080/v1/graphql
REACT_APP_API_URL=https://jungle.eosio.cr
REACT_APP_GRAPHQL_WS_URL=ws://localhost:8080/v1/graphql
Expand Down
6 changes: 6 additions & 0 deletions webapp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM node:12-slim as builder

ARG branch
ARG REACT_APP_RATING_CONTRACT
ARG REACT_APP_GRAPHQL_HTTP_URL
ARG REACT_APP_API_URL
ARG REACT_APP_EDEN_CONTRACT
ARG REACT_APP_MAINNET_VERSION
ARG REACT_APP_GRAPHQL_WS_URL
ARG REACT_APP_EOS_API_URL
ARG REACT_APP_EOS_API_HOST
Expand All @@ -12,8 +15,11 @@ ARG REACT_APP_EOS_CHAIN_ID
ARG REACT_APP_BLOCK_EXPLORER
ARG REACT_APP_NETWORK_MONITOR_URL

ENV REACT_APP_RATING_CONTRACT $REACT_APP_RATING_CONTRACT
ENV REACT_APP_GRAPHQL_HTTP_URL $REACT_APP_GRAPHQL_HTTP_URL
ENV REACT_APP_API_URL $REACT_APP_API_URL
ENV REACT_APP_EDEN_CONTRACT $REACT_APP_EDEN_CONTRACT
ENV REACT_APP_MAINNET_VERSION $REACT_APP_MAINNET_VERSION
ENV REACT_APP_GRAPHQL_WS_URL $REACT_APP_GRAPHQL_WS_URL
ENV REACT_APP_EOS_API_URL $REACT_APP_EOS_API_URL
ENV REACT_APP_EOS_API_HOST $REACT_APP_EOS_API_HOST
Expand Down

0 comments on commit 1921f43

Please sign in to comment.