From 46da87186467bdaf15a613cb74888013c9cf6510 Mon Sep 17 00:00:00 2001 From: isra el Date: Sun, 30 Mar 2025 11:21:25 +0300 Subject: [PATCH] infra: fix Dockerfile for web --- web/Dockerfile | 2 +- web/next.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile b/web/Dockerfile index d725235..591cbf6 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -79,4 +79,4 @@ EXPOSE ${PORT} # HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ # CMD wget -q -O - http://localhost:${PORT}/api/health || exit 1 -CMD ["node", "server.js"] \ No newline at end of file +CMD ["node", "server"] \ No newline at end of file diff --git a/web/next.config.js b/web/next.config.js index ba84acf..e8cb564 100644 --- a/web/next.config.js +++ b/web/next.config.js @@ -5,6 +5,7 @@ const nextConfig = { locales: ['en-US'], defaultLocale: 'en-US', }, + output: 'standalone', async redirects() { return [