diff --git a/Dockerfile b/Dockerfile index 6b10b74..3ecb452 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,7 @@ RUN pnpm install --frozen-lockfile COPY . . # Building app +RUN rm -rf .next RUN pnpm run build EXPOSE 4000 diff --git a/next.config.mjs b/next.config.mjs index 833dc88..48c8fb0 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -9,13 +9,10 @@ const bundleAnalyzer = withBundleAnalyzer({ }); const nextConfig = { - env: { - _next_intl_trailing_slash: "false" - }, + trailingSlash: true, eslint: { ignoreDuringBuilds: true, }, - assetPrefix: 'https://kontenhumas.com/', images: { remotePatterns: [ {