Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyfilyanin authored Oct 11, 2023
1 parent 60305fe commit 7662f66
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions idea/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ COPY ./utils/gear-ui ./utils/gear-ui

RUN yarn install --mode=skip-build

ARG REACT_APP_API_URL \
REACT_APP_NODE_ADDRESS \
REACT_APP_WASM_COMPILER_URL \
REACT_APP_DEFAULT_NODES_URL \
REACT_APP_HCAPTCHA_SITE_KEY \
REACT_APP_DEFAULT_TRANSFER_BALANCE_VALUE \
REACT_APP_RRT
ENV REACT_APP_API_URL=${REACT_APP_API_URL} \
REACT_APP_NODE_ADDRESS=${REACT_APP_NODE_ADDRESS} \
REACT_APP_WASM_COMPILER_URL=${REACT_APP_WASM_COMPILER_URL} \
REACT_APP_DEFAULT_NODES_URL=${REACT_APP_DEFAULT_NODES_URL} \
REACT_APP_HCAPTCHA_SITE_KEY=${REACT_APP_HCAPTCHA_SITE_KEY} \
REACT_APP_DEFAULT_TRANSFER_BALANCE_VALUE=${REACT_APP_DEFAULT_TRANSFER_BALANCE_VALUE} \
REACT_APP_RRT=''
ARG VITE_NODE_ADDRESS \
VITE_API_URL \
VITE_DEFAULT_NODES_URL \
VITE_DEFAULT_TRANSFER_BALANCE_VALUE \
VITE_HCAPTCHA_SITE_KEY
ENV VITE_NODE_ADDRESS=${VITE_NODE_ADDRESS} \
VITE_API_URL=${VITE_API_URL} \
VITE_DEFAULT_NODES_URL=${VITE_DEFAULT_NODES_URL} \
VITE_DEFAULT_TRANSFER_BALANCE_VALUE=${VITE_DEFAULT_TRANSFER_BALANCE_VALUE} \
VITE_HCAPTCHA_SITE_KEY=${VITE_HCAPTCHA_SITE_KEY}

RUN yarn build:frontend

Expand Down

0 comments on commit 7662f66

Please sign in to comment.