From feff3056a503d9363312d22433e536fe9fe80663 Mon Sep 17 00:00:00 2001 From: Michael Schramm Date: Thu, 6 May 2021 20:12:03 +0200 Subject: [PATCH] fix problem with node-prune on production build --- .gitignore | 1 + CHANGELOG.md | 1 + Dockerfile | 3 ++- ui | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 76008bce..1d4acff2 100755 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,7 @@ local.properties .c9/ data/ mongod +pg_data # General # ======= diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b87dbc4..d7a5b4da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - heroku deployments +- fix problem with node-prune on production build ### Security diff --git a/Dockerfile b/Dockerfile index a0165b47..d1313338 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ RUN yarn build RUN npm prune --production # run node prune -RUN /usr/local/bin/node-prune +# there is some problem running node prune that then prevents the frontend to load (just start with /form/1 and it will crash) +#RUN /usr/local/bin/node-prune ## Build API FROM node:14-alpine as api diff --git a/ui b/ui index b0f0ff2a..020ec938 160000 --- a/ui +++ b/ui @@ -1 +1 @@ -Subproject commit b0f0ff2a50f92e83dc395d7059a0e9a0f018f136 +Subproject commit 020ec938b70c510b5e781e73528f2104066e3fb3