8 Commits
uat ... dev

Author SHA1 Message Date
john kevin asprec
a6ef5d5174 chore: update Dockerfile to define PORT environment variable as 3003 2026-06-16 22:33:25 +08:00
kevin-asprec
b263f97705 fix: override NODE_ENV=development for npm install in Coolify
Coolify injects ARG NODE_ENV=production which causes npm to skip
devDependencies (typescript, tailwindcss, postcss).
2026-04-14 20:42:31 +08:00
kevin-asprec
7e5cd0f40e fix: remove ENV NODE_ENV=development that breaks Next.js static generation 2026-04-14 20:13:04 +08:00
kevin-asprec
32a68b0e59 fix: add not-found.tsx to prevent Html import error during build 2026-04-14 09:43:25 +08:00
kevin-asprec
dc4b07a70c fix: set NODE_ENV=development during build to include devDependencies 2026-04-14 09:01:04 +08:00
kevin-asprec
5ca045fa4a fix: add cache bust arg to force clean Docker build 2026-04-14 06:41:31 +08:00
kevin-asprec
f25668f1f7 fix: use next.config.mjs to avoid typescript build dependency 2026-04-14 06:31:08 +08:00
kevin-asprec
dbdc116054 fix: install typescript for next.config.ts transpilation in Dockerfile 2026-04-14 06:05:41 +08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ RUN apk add --no-cache dumb-init
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs
COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static COPY --from=builder /app/.next/static ./.next/static
ENV NODE_ENV=production HOSTNAME=0.0.0.0 ENV NODE_ENV=production HOSTNAME=0.0.0.0 PORT=3003
EXPOSE 3003 EXPOSE 3003
USER nextjs USER nextjs
ENTRYPOINT ["dumb-init", "--"] ENTRYPOINT ["dumb-init", "--"]

View File

@@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true, transpilePackages: ['@fiberops/shared'],
output: 'standalone', output: 'standalone',
}; };
export default nextConfig; export default nextConfig;