From 7a500faa76c7bba5059c78871e9ae13d1fdc8033 Mon Sep 17 00:00:00 2001 From: David Inga Date: Wed, 10 Jan 2024 10:57:52 +0100 Subject: [PATCH] fixed docker build --- client/Dockerfile | 4 ++-- client/next.config.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/Dockerfile b/client/Dockerfile index 4787f81b75..c39aa7949d 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.15-bullseye-slim +FROM node:18.15-bullseye-slim AS builder ARG UID=5000 ARG GID=5000 @@ -39,7 +39,7 @@ COPY --chown=$USER:$USER public ./public # NextJS required files COPY --chown=$USER:$USER next.config.js local.d.ts \ postcss.config.js tailwind.config.js entrypoint.sh \ - tsconfig.json .browserlistrc .eslintrc.js .prettierrc.json ./ + tsconfig.json tsconfig.eslint.json .browserlistrc .eslintrc.js .prettierrc.cjs ./ RUN yarn build diff --git a/client/next.config.js b/client/next.config.js index 2b183b914f..49f73d6059 100644 --- a/client/next.config.js +++ b/client/next.config.js @@ -4,7 +4,6 @@ const nextConfig = { // ! the current approach we follow to handle layers on the map does not work with strict mode enabled, // ! do not enable it unless you know what you are doing or know the issue is fixed. reactStrictMode: false, - output: 'standalone', redirects() { return [ {