3 Commits
master ... uat

3 changed files with 15 additions and 4 deletions

View File

@@ -1,10 +1,13 @@
FROM node:20-alpine AS builder
ARG NODE_ENV=production
ENV NODE_ENV=development
WORKDIR /app
COPY package.json package-lock.json* ./
COPY packages/shared/package.json ./packages/shared/
RUN npm install
COPY packages/shared/ ./packages/shared/
COPY . .
ENV NODE_ENV=production
RUN npx next build
FROM node:20-alpine AS runner

View File

@@ -1,8 +1,6 @@
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
};
export default nextConfig;

10
src/app/not-found.tsx Normal file
View 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>
);
}