diff --git a/Dockerfile b/Dockerfile index 795b6cd..d19e5af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ RUN apk add --no-cache git WORKDIR /app -# Install dependencies (no lockfile needed) -COPY package.json ./ +# Install dependencies (uses package-lock if present, otherwise npm install) +COPY package.json package-lock.json* ./ RUN npm install # Copy source files @@ -20,7 +20,7 @@ ENV NODE_ENV=production RUN npm run build # --------------------------------------------------------- -# Production stage – tiny static server +# Production stage – tiny static server # --------------------------------------------------------- FROM nginx:alpine diff --git a/index.html b/index.html index e69de29..45be857 100644 --- a/index.html +++ b/index.html @@ -0,0 +1,12 @@ + + + + + + Freight Internal App + + +
+ + + \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index e69de29..db97378 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -0,0 +1,15 @@ +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import LoadTable from './components/LoadTable'; + +const queryClient = new QueryClient(); + +export default function App() { + return ( + +
+

Freight Desk - Internal App

+ +
+
+ ); +} \ No newline at end of file