fix problem with node-prune on production build

This commit is contained in:
Michael Schramm 2021-05-06 20:12:03 +02:00
parent e05c36c26a
commit feff3056a5
4 changed files with 5 additions and 2 deletions

1
.gitignore vendored
View File

@ -61,6 +61,7 @@ local.properties
.c9/
data/
mongod
pg_data
# General
# =======

View File

@ -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

View File

@ -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

2
ui

@ -1 +1 @@
Subproject commit b0f0ff2a50f92e83dc395d7059a0e9a0f018f136
Subproject commit 020ec938b70c510b5e781e73528f2104066e3fb3