From b2cb51ccae5df5478faf7f561348fce437f21fd4 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 18 Jun 2023 17:33:48 +0100 Subject: [PATCH] chore: update Dockerfile --- Dockerfile | 4 ---- next.config.js | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0afee06..3146cda5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,10 +31,6 @@ ENV NEXT_PUBLIC_OUR_DOMAIN=${NEXT_PUBLIC_OUR_DOMAIN} ARG NEXT_PUBLIC_TWITTER_LINK ENV NEXT_PUBLIC_TWITTER_LINK=${NEXT_PUBLIC_TWITTER_LINK} -ENV NEXT_TELEMETRY_DISABLED=1 -ENV NODE_ENV=production -ENV BUILD_STEP=1 - RUN pnpm build ##### FINAL diff --git a/next.config.js b/next.config.js index 35b77bc2..ac5d85cd 100644 --- a/next.config.js +++ b/next.config.js @@ -62,15 +62,14 @@ const lastCommitCommand = "git rev-parse HEAD" module.exports = withBundleAnalyzer( // @ts-ignore withPWA({ + output: "standalone", env: { APP_DESCRIPTION: pkg.description, }, experimental: { scrollRestoration: true, - appDir: true, serverComponentsExternalPackages: ["rehype-react"], }, - output: "standalone", productionBrowserSourceMaps: true, webpack(config) {