diff --git a/idea/frontend/Dockerfile b/idea/frontend/Dockerfile index 4640ca9f29..435a4f485b 100644 --- a/idea/frontend/Dockerfile +++ b/idea/frontend/Dockerfile @@ -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