Skip to content

Commit 1b79d01

Browse files
committed
Update docs URLs in Docker example
1 parent c1f3462 commit 1b79d01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: examples/with-docker/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ RUN adduser --system --uid 1001 nextjs
5050
COPY --from=builder /app/public ./public
5151

5252
# Automatically leverage output traces to reduce image size
53-
# https://nextjs.org/docs/advanced-features/output-file-tracing
53+
# https://nextjs.org/docs/app/api-reference/config/next-config-js/output#automatically-copying-traced-files
5454
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
5555
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
5656

@@ -61,6 +61,6 @@ EXPOSE 3000
6161
ENV PORT=3000
6262

6363
# server.js is created by next build from the standalone output
64-
# https://nextjs.org/docs/pages/api-reference/config/next-config-js/output
64+
# https://nextjs.org/docs/app/api-reference/config/next-config-js/output
6565
ENV HOSTNAME="0.0.0.0"
6666
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)