-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move npm run build
as part of docker build
#129
Conversation
Docker build status
|
|
scripts/build.sh
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we should probably also rename this script, since it doesn't build
at all anymore?
Since it's a single line, I would just remove the script altogether, and call the cp
command in-line in the Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. d509d03
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Run
npm run build
in docker image to generate built dashboard files in docker image (making them available forCOPY --from
in other images)Closes #128
Supports RMI-PACTA/workflow.pacta.dashboard#33