8 Commits
uat ... dev

Author SHA1 Message Date
john kevin asprec
4d5177004c chore: update Dockerfile to explicitly set PORT environment variable to 3002 2026-06-16 22:33:09 +08:00
kevin-asprec
13d1fdfdef fix: remove packages/shared and override NODE_ENV for Coolify builds
Portal has no shared package dependency. Coolify injects ARG
NODE_ENV=production which skips devDependencies.
2026-04-14 20:42:14 +08:00
kevin-asprec
b079df58e4 fix: remove ENV NODE_ENV=development that breaks Next.js static generation 2026-04-14 20:12:59 +08:00
kevin-asprec
5de24a78d3 fix: add not-found.tsx to prevent Html import error during build 2026-04-14 09:43:02 +08:00
kevin-asprec
337a780d0c fix: set NODE_ENV=development during build to include devDependencies 2026-04-14 09:00:58 +08:00
kevin-asprec
3040d4f6bf fix: add cache bust arg to force clean Docker build 2026-04-14 06:41:26 +08:00
kevin-asprec
cc52551b5a fix: use next.config.mjs to avoid typescript build dependency 2026-04-14 06:31:04 +08:00
kevin-asprec
7489bdef14 fix: install typescript for next.config.ts transpilation in Dockerfile 2026-04-14 06:05:36 +08:00
2 changed files with 3 additions and 1 deletions

View File

@@ -14,7 +14,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=3002
EXPOSE 3002 EXPOSE 3002
USER nextjs USER nextjs
ENTRYPOINT ["dumb-init", "--"] ENTRYPOINT ["dumb-init", "--"]

View File

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