File tree 4 files changed +3
-10
lines changed
4 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ COPY --from=builder /app/public ./public
41
41
42
42
# Automatically leverage output traces to reduce image size
43
43
# https://nextjs.org/docs/advanced-features/output-file-tracing
44
- # COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
44
+ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
45
45
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
46
46
47
47
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ COPY --from=builder /app/public ./public
52
52
53
53
# Automatically leverage output traces to reduce image size
54
54
# https://nextjs.org/docs/advanced-features/output-file-tracing
55
- # COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
55
+ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
56
56
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
57
57
58
58
USER nextjs
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import type { NextConfig } from "next" ;
2
2
3
3
const nextConfig : NextConfig = {
4
- /* config options here */
4
+ output : "standalone" ,
5
5
} ;
6
6
7
7
export default nextConfig ;
You can’t perform that action at this time.
0 commit comments