diff --git a/Dockerfile b/Dockerfile index 1fe6d9aa..95987f84 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,4 +63,5 @@ HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \ CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1 ENTRYPOINT ["docker-entrypoint.sh"] +ENV HOST=0.0.0.0 CMD ["node", "server.js"] diff --git a/next.config.js b/next.config.js index b374ca1b..39c2d497 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,7 @@ const { i18n } = require("./next-i18next.config"); /** @type {import('next').NextConfig} */ const nextConfig = { - server: { + serverRuntimeConfig: { host: "0.0.0.0", }, reactStrictMode: true,