Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d5177004c | ||
|
|
13d1fdfdef | ||
|
|
b079df58e4 | ||
|
|
5de24a78d3 | ||
|
|
337a780d0c | ||
|
|
3040d4f6bf | ||
|
|
cc52551b5a | ||
|
|
7489bdef14 | ||
|
|
8aaa1115ec | ||
| 28127ff5a4 |
@@ -1,8 +1,11 @@
|
||||
FROM node:20-alpine AS builder
|
||||
ARG NODE_ENV=production
|
||||
ENV NODE_ENV=development
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
ENV NODE_ENV=production
|
||||
RUN npx next build
|
||||
|
||||
FROM node:20-alpine AS runner
|
||||
|
||||
7
next.config.mjs
Normal file
7
next.config.mjs
Normal file
@@ -0,0 +1,7 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
transpilePackages: ['@fiberops/shared'],
|
||||
output: 'standalone',
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
@@ -1,3 +0,0 @@
|
||||
import type { NextConfig } from 'next';
|
||||
const nextConfig: NextConfig = { output: 'standalone' };
|
||||
export default nextConfig;
|
||||
10
src/app/not-found.tsx
Normal file
10
src/app/not-found.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<h1>404 - Page Not Found</h1>
|
||||
<p>The page you are looking for does not exist.</p>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user