Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d5177004c | ||
|
|
13d1fdfdef | ||
|
|
b079df58e4 | ||
|
|
5de24a78d3 | ||
|
|
337a780d0c | ||
|
|
3040d4f6bf | ||
|
|
cc52551b5a | ||
|
|
7489bdef14 |
@@ -14,7 +14,7 @@ RUN apk add --no-cache dumb-init
|
||||
RUN addgroup --system --gid 1001 nodejs && adduser --system --uid 1001 nextjs
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
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
|
||||
USER nextjs
|
||||
ENTRYPOINT ["dumb-init", "--"]
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
transpilePackages: ['@fiberops/shared'],
|
||||
output: 'standalone',
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user