-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
[docker] fix, Dockerfile for frontend builds #9114
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9114 +/- ##
=========================================
- Coverage 59.1% 59.1% -0.01%
=========================================
Files 372 372
Lines 11920 11922 +2
Branches 2917 2919 +2
=========================================
+ Hits 7045 7046 +1
- Misses 4693 4694 +1
Partials 182 182
Continue to review full report at Codecov.
|
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.
👍
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.
actually getting:
ERROR: Service 'superset' failed to build: COPY failed: stat /var/lib/docker/overlay2/da84b52e48a6b3377e530754d4fd271917761b201d64bc3a77d4e8574971ba62/merged/app/superset-frontend/version_info.json: no such file or directory
when running locally
Looks like |
I think you're right, thanks for catching that @nytai |
Whew. Had some trials and tribulations as you can see from the commit log but I dare say this is ready to go. Approvals/criticisms welcome. One change I was forced to make was moving |
@@ -26,6 +26,7 @@ x-superset-volumes: &superset-volumes | |||
- ./docker/docker-init.sh:/app/docker-init.sh | |||
- ./docker/pythonpath_dev:/app/pythonpath | |||
- ./superset:/app/superset | |||
- ./superset-frontend:/app/superset-frontend |
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.
👍
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.
Looks good, needs a possible change
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.
Gave it a quick run and looks good
CATEGORY
Choose one
SUMMARY
My previous PR introduced a bug to the Dockerfile. This fixes it by copying build frontend files to/from the right places.
TEST PLAN
I've verified this by running
docker-compose up --build
, but again would appreciate verification from someone better versed in docker-ologyADDITIONAL INFORMATION
REVIEWERS
@mistercrunch @nytai