mirror of
https://github.com/IT4Change/ohmyform-ui.git
synced 2025-12-13 09:45:50 +00:00
fix problem with node-prune on production build
This commit is contained in:
parent
b0f0ff2a50
commit
020ec938b7
@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
- links at the bottom for new users
|
||||
- fixes for hide contrib setting
|
||||
- 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
|
||||
|
||||
FROM node:14-alpine
|
||||
MAINTAINER OhMyForm <admin@ohmyform.com>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user