fix problem with node-prune on production build
This commit is contained in:
parent
e05c36c26a
commit
feff3056a5
1
.gitignore
vendored
1
.gitignore
vendored
@ -61,6 +61,7 @@ local.properties
|
||||
.c9/
|
||||
data/
|
||||
mongod
|
||||
pg_data
|
||||
|
||||
# General
|
||||
# =======
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
2
ui
@ -1 +1 @@
|
||||
Subproject commit b0f0ff2a50f92e83dc395d7059a0e9a0f018f136
|
||||
Subproject commit 020ec938b70c510b5e781e73528f2104066e3fb3
|
||||
Loading…
x
Reference in New Issue
Block a user