From 3ee5ee81abb5e8f8c7ca0f00070c8937d70d756d Mon Sep 17 00:00:00 2001 From: bao Date: Fri, 9 Aug 2024 16:55:54 +0700 Subject: [PATCH] update docker --- Dockerfile | 29 +++++++++++++++-------------- packages/aesirx-bi-app/package.json | 2 +- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Dockerfile b/Dockerfile index 81d19010..7b2d2274 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,20 @@ ## builder FROM node:18-alpine AS builder + +ARG REACT_APP_ENDPOINT_URL +ARG REACT_APP_BI_ENDPOINT_URL +ARG REACT_APP_WEB3_API_ENDPOINT +ARG REACT_APP_ENDPOINT_ANALYTICS_URL +ARG REACT_APP_SSO_CLIENT_ID +ARG REACT_APP_SSO_CLIENT_SECRET +ARG REACT_APP_SSO_CONCORDIUM_NETWORK +ARG REACT_APP_WOOCOMMERCE_MENU +ARG REACT_APP_DATA_STREAM +ARG REACT_APP_DEMO_USER +ARG REACT_APP_DEMO_PASSWORD +ARG REACT_APP_LOGIN_EMAIL + WORKDIR /app COPY .git . @@ -39,17 +53,4 @@ RUN yarn add serve react-inject-env # Expose port EXPOSE 3000 -ENTRYPOINT npx react-inject-env set && npx serve -s build - -ARG REACT_APP_ENDPOINT_URL -ARG REACT_APP_BI_ENDPOINT_URL -ARG REACT_APP_WEB3_API_ENDPOINT -ARG REACT_APP_ENDPOINT_ANALYTICS_URL -ARG REACT_APP_SSO_CLIENT_ID -ARG REACT_APP_SSO_CLIENT_SECRET -ARG REACT_APP_SSO_CONCORDIUM_NETWORK -ARG REACT_APP_WOOCOMMERCE_MENU -ARG REACT_APP_DATA_STREAM -ARG REACT_APP_DEMO_USER -ARG REACT_APP_DEMO_PASSWORD -ARG REACT_APP_LOGIN_EMAIL +ENTRYPOINT npx react-inject-env set && npx serve -s build \ No newline at end of file diff --git a/packages/aesirx-bi-app/package.json b/packages/aesirx-bi-app/package.json index 0fe906e7..c2bf1936 100644 --- a/packages/aesirx-bi-app/package.json +++ b/packages/aesirx-bi-app/package.json @@ -1,6 +1,6 @@ { "name": "aesirx-bi-app", - "version": "2.0.17", + "version": "2.0.18", "license": "GPL-3.0-only", "author": "AesirX", "main": "dist/index.js",