diff --git a/Dockerfile b/Dockerfile index 0d1883e1..7dd73b6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ ARG REACT_APP_CREATABLE_INSTANCE COPY . /app WORKDIR /app RUN npm install -s -RUN npm run build +RUN NODE_OPTIONS="--max-old-space-size=4096" npm run build RUN rm -rf /app/build/static/js/*.map FROM nginx:alpine as production-stage COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf diff --git a/package.json b/package.json index d2c15f97..6d4bc636 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "0.36.8", + "version": "0.36.9", "private": true, "scripts": { "dev": "GENERATE_SOURCEMAP=false react-scripts start", diff --git a/src/components/CreateForms/CFStep1.tsx b/src/components/CreateForms/CFStep1.tsx index f2cc88c6..7c58aaf6 100644 --- a/src/components/CreateForms/CFStep1.tsx +++ b/src/components/CreateForms/CFStep1.tsx @@ -6,7 +6,6 @@ import CFBridgeToggle from "../CFBridgeToggle/CFBridgeToggle"; import CFRobotButtons from "../CFRobotButtons/CFRobotButtons"; import CreateRobotFormLoader from "../CFLoader/CFLoader"; import CFRosDistros from "../CFRosDistros/CFRosDistros"; -import CFGPUToggle from "../CFGPUToggle/CFGPUToggle"; import CFRobotName from "../CFRobotName/CFRobotName"; import useFunctions from "../../hooks/useFunctions"; import CFVDICount from "../CFVDICount/CFVDICount"; diff --git a/src/components/EnvironmentMainLabels/EnvironmentMainLabels.tsx b/src/components/EnvironmentMainLabels/EnvironmentMainLabels.tsx index cc6b1d08..7e9eb8bc 100644 --- a/src/components/EnvironmentMainLabels/EnvironmentMainLabels.tsx +++ b/src/components/EnvironmentMainLabels/EnvironmentMainLabels.tsx @@ -1,4 +1,3 @@ -import EnvironmentObjectLabels from "../EnvironmentObjectLabels/EnvironmentObjectLabels"; import EnvironmentTitle from "../EnvironmentTitle/EnvironmentTitle"; import EnvironmentType from "../EnvironmentType/EnvironmentType"; import { ReactElement } from "react"; diff --git a/src/pages/DashboardsPage/OrgDashboard/OrgDashboard.tsx b/src/pages/DashboardsPage/OrgDashboard/OrgDashboard.tsx index 9195ba6c..76767502 100644 --- a/src/pages/DashboardsPage/OrgDashboard/OrgDashboard.tsx +++ b/src/pages/DashboardsPage/OrgDashboard/OrgDashboard.tsx @@ -1,7 +1,6 @@ import InformationWidget from "../../../components/InformationWidget/InformationWidget"; import RegionsWidget from "../../../components/RegionsWidget/RegionsWidget"; import { stringCapitalization } from "../../../functions/general.function"; -import CountWidget from "../../../components/CountWidget/CountWidget"; import GeneralTable from "../../../components/Table/GeneralTable"; import { ReactElement } from "react"; import { OrgTableData } from "../../../controllers/OrgTableData"; diff --git a/src/pages/DashboardsPage/RegionDashboard/RegionDashboard.tsx b/src/pages/DashboardsPage/RegionDashboard/RegionDashboard.tsx index e14f3e87..c70e5e4d 100644 --- a/src/pages/DashboardsPage/RegionDashboard/RegionDashboard.tsx +++ b/src/pages/DashboardsPage/RegionDashboard/RegionDashboard.tsx @@ -1,7 +1,6 @@ import InformationWidget from "../../../components/InformationWidget/InformationWidget"; import RegionsWidget from "../../../components/RegionsWidget/RegionsWidget"; import { RegionTableData } from "../../../controllers/RegionTableData"; -import CountWidget from "../../../components/CountWidget/CountWidget"; import GeneralTable from "../../../components/Table/GeneralTable"; import TourGuide from "../../../components/TourGuide/TourGuide"; import DashboardLayout from "../../../layouts/DashboardLayout/DashboardLayout";