diff --git a/Dockerfile b/Dockerfile index 513f623e4..dbd3f7eb5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,8 +37,6 @@ RUN npm run build:production # Prepare the dist image with additional node_modules WORKDIR /ghostfolio/dist/apps/api -# Exclude unnecessary dev deps -RUN sed -i '/@nx/d' package.json # package.json was generated by the build process, however the original # package-lock.json needs to be used to ensure the same versions COPY ./package-lock.json /ghostfolio/dist/apps/api/package-lock.json diff --git a/nx.json b/nx.json index 5adb8983b..439319dfc 100644 --- a/nx.json +++ b/nx.json @@ -66,7 +66,8 @@ "!{projectRoot}/.storybook/**/*", "!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)", "!{projectRoot}/tsconfig.storybook.json", - "!{projectRoot}/src/test-setup.[jt]s" + "!{projectRoot}/src/test-setup.[jt]s", + "!{projectRoot}/webpack.config.js" ] }, "nxCloudAccessToken": "Mjg0ZGQ2YjAtNGI4NS00NmYwLThhOWEtMWZmNmQzODM4YzU4fHJlYWQ=",