FIX;Application return 404 after deploy

This commit is contained in:
Roman Jaroš 2022-07-06 18:31:17 +02:00
parent ec7f40dc88
commit e9f967bed5
2 changed files with 2 additions and 2 deletions

View file

@ -23,4 +23,4 @@ EXPOSE 3000
ENV PORT 3000
CMD ["node", "server.js"]
CMD ["npm", "run", "start"]

View file

@ -5,7 +5,7 @@ const nextConfig = {
locales: ["cs"],
defaultLocale: "cs",
},
output: "standalone",
trailingSlash: true,
};
module.exports = nextConfig;