3 Commits
dev ... main

2 changed files with 1 additions and 3 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 PORT=3002 ENV NODE_ENV=production HOSTNAME=0.0.0.0
EXPOSE 3002 EXPOSE 3002
USER nextjs USER nextjs
ENTRYPOINT ["dumb-init", "--"] ENTRYPOINT ["dumb-init", "--"]

View File

@@ -1,7 +1,5 @@
/** @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;