Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a6ef5d5174 | ||
|
|
b263f97705 | ||
|
|
7e5cd0f40e | ||
|
|
32a68b0e59 | ||
|
|
dc4b07a70c | ||
|
|
5ca045fa4a | ||
|
|
f25668f1f7 | ||
|
|
dbdc116054 |
@@ -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", "--"]
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user