Set HOSTNAME to 0.0.0.0 for Next.js standalone container

This commit is contained in:
ypratama committed 2026-08-12 22:07:28 +07:00
1 parent 4af90d0c7d
commit 00fe342f88
1 file changed
+1
+1
View File
@@ -61,6 +61,7 @@ USER nextjs
EXPOSE 3000
ENV PORT=3000
ENV HOSTNAME="0.0.0.0"
# We need to run migrations before starting the app.
# Since we are using PostgreSQL and might not have migration files, we use db push