From f4bc1fa6bf6cd93b7d12d74aefbf78dc69b00c10 Mon Sep 17 00:00:00 2001 From: system625 Date: Fri, 20 Dec 2024 12:36:35 +0100 Subject: [PATCH] progress? --- frontend/Dockerfile | 4 +--- frontend/src/components/layout/header/Header.jsx | 2 +- frontend/src/pages/dashboard/YourComponent.js | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 frontend/src/pages/dashboard/YourComponent.js diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1f17fd27..47e7c76e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -4,11 +4,9 @@ FROM node:20-alpine AS build WORKDIR /app -COPY package.json yarn.lock ./ +COPY . /app RUN yarn -COPY src/ ./src/ -COPY public/ ./public/ RUN yarn build # Stage 2: Set up Nginx to serve the built app diff --git a/frontend/src/components/layout/header/Header.jsx b/frontend/src/components/layout/header/Header.jsx index f7b0ee63..d37989ae 100644 --- a/frontend/src/components/layout/header/Header.jsx +++ b/frontend/src/components/layout/header/Header.jsx @@ -6,7 +6,7 @@ import WalletSection from '../wallet-section/WalletSection'; import NavigationLinks from '../navigation-links/NavigationLinks'; import useLockBodyScroll from '../../../hooks/useLockBodyScroll'; import MobDropdownMenu from '../mob-dropdown-menu/MobDropdownMenu'; -import './header.css'; +import './Header.css'; import '../../../globals.css'; diff --git a/frontend/src/pages/dashboard/YourComponent.js b/frontend/src/pages/dashboard/YourComponent.js deleted file mode 100644 index 0519ecba..00000000 --- a/frontend/src/pages/dashboard/YourComponent.js +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file