diff --git a/Dockerfile b/Dockerfile index d1743e8..ebd73d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +ARG NEXT_PUBLIC_BASE_PATH ARG NEXT_PUBLIC_COLOR_PRIMARY ARG NEXT_PUBLIC_COLOR_SECONDARY ARG NEXT_PUBLIC_COLOR_TERTIARTY diff --git a/next.config.js b/next.config.js index a05c537..af96319 100644 --- a/next.config.js +++ b/next.config.js @@ -6,6 +6,7 @@ const withGraphQL = require('next-plugin-graphql'); /** @type {import('next').NextConfig} */ const nextConfig = { + basePath: process.env.NEXT_PUBLIC_BASE_PATH, output: 'standalone', swcMinify: true, reactStrictMode: true,