We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0cde92 commit d9c3894Copy full SHA for d9c3894
Dockerfile
@@ -24,8 +24,7 @@ COPY . .
24
25
# This should be replaced with an actual secret in production.
26
# REVIEW: Can we make this not required during build?
27
-ENV AUTH_SECRET dummy
28
-RUN npm run build
+RUN AUTH_SECRET=dummy npm run build
29
30
# Production image, copy all the files and run next
31
FROM base AS runner
@@ -57,4 +56,4 @@ ENV PORT 3000
57
56
58
# server.js is created by next build from the standalone output
59
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
60
-CMD node server.js
+CMD HOSTNAME="0.0.0.0" node server.js
0 commit comments