From 41aa5b00cc8ebb6b542b6014995181a32fa7d27b Mon Sep 17 00:00:00 2001 From: Vishnu Date: Wed, 19 Mar 2025 11:06:55 +0530 Subject: [PATCH] docker file update --- app/Dockerfile | 2 +- app/src/components/ui/ContextMenu.tsx | 9 +++++++++ app/src/components/ui/Tools.tsx | 4 +++- app/src/pages/Project.tsx | 2 ++ compose.yaml | 2 -- 5 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 app/src/components/ui/ContextMenu.tsx diff --git a/app/Dockerfile b/app/Dockerfile index 50419bf..805de8f 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -29,7 +29,7 @@ RUN npm run build FROM nginx:alpine # Copy the built Vite files from the build stage into Nginx's default HTML folder -COPY --from=development /frontend/dist /usr/share/nginx/html +COPY --from=development /frontend/dist /usr/share/nginx/html/dist # Optionally copy a custom Nginx config (if needed) COPY nginx.conf /etc/nginx/conf.d/default.conf diff --git a/app/src/components/ui/ContextMenu.tsx b/app/src/components/ui/ContextMenu.tsx new file mode 100644 index 0000000..6ae66a7 --- /dev/null +++ b/app/src/components/ui/ContextMenu.tsx @@ -0,0 +1,9 @@ +import React from 'react' + +const ContextMenu: React.FC = () => { + return ( +
ContextMenu
+ ) +} + +export default ContextMenu \ No newline at end of file diff --git a/app/src/components/ui/Tools.tsx b/app/src/components/ui/Tools.tsx index d1a7a14..7c2ee7a 100644 --- a/app/src/components/ui/Tools.tsx +++ b/app/src/components/ui/Tools.tsx @@ -2,7 +2,9 @@ import React from 'react'; const Tools: React.FC = () => { return ( -
Tools
+
+ +
); }; diff --git a/app/src/pages/Project.tsx b/app/src/pages/Project.tsx index 6e0b37b..e1ebe4a 100644 --- a/app/src/pages/Project.tsx +++ b/app/src/pages/Project.tsx @@ -2,6 +2,7 @@ import React from 'react'; import ModuleToggle from '../components/ui/ModuleToggle'; import SideBarLeft from '../components/layout/sidebarLeft/SideBarLeft'; import SideBarRight from '../components/layout/sidebarRight/SideBarRight'; +import Tools from '../components/ui/Tools'; const Project: React.FC = () => { return ( @@ -9,6 +10,7 @@ const Project: React.FC = () => { + ); }; diff --git a/compose.yaml b/compose.yaml index 04e7c8d..988a29f 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,5 +1,3 @@ -version: "3.8" - services: dwinzo_beta: build: