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
Fix Production docker build #1091
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1091 +/- ##
=======================================
Coverage 78.76% 78.76%
=======================================
Files 61 61
Lines 3169 3169
=======================================
Hits 2496 2496
Misses 673 673 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
prod
), which should load everything from image including pre-build front end/usr/src/app
except for mapped config fileapp.py
config.ts.prod
) is preloaded into imageprod
makes static files from pre-builtneuroscout
image available tonginx
For non production environments the following volume is mapped:
-
./neuroscout:/usr/src/app/neuroscout
This is dropped in the production environment, so that all files are pre-loaded
Warning:
pip install -e
will fail, because it tries to install in a directory that is later copied over/usr/src/app