diff --git a/Dockerfile b/Dockerfile index 9ccd2a1..ec4b933 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM node:20-alpine AS builder +ARG CACHE_BUST=1 +ENV NODE_ENV=development WORKDIR /app COPY package.json package-lock.json* ./ COPY packages/shared/package.json ./packages/shared/ diff --git a/next.config.ts b/next.config.mjs similarity index 56% rename from next.config.ts rename to next.config.mjs index 42efe09..e2be998 100644 --- a/next.config.ts +++ b/next.config.mjs @@ -1,8 +1,6 @@ -import type { NextConfig } from 'next'; - -const nextConfig: NextConfig = { +/** @type {import('next').NextConfig} */ +const nextConfig = { transpilePackages: ['@fiberops/shared'], output: 'standalone', }; - export default nextConfig; diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..3cd9eb3 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,10 @@ +export default function NotFound() { + return ( + +
+The page you are looking for does not exist.
+ + + ); +}