Comments (5)
I think you're right. Thanks for the heads up!
from nanobox-engine-python.
@notxarb I think we may have an issue here: https://github.com/nanobox-io/nanobox-engine-python/blob/master/lib/python/general.sh#L66
The nos_code_dir resolves to /opt/code.
I wonder if we should put the code_dir right at /code in the build container to deal with these issues.
from nanobox-engine-python.
hmm, /code is where the live dir is... we may need to change this around to avoid situations like this.
Looking at it now, I'm wondering if code dir should be /code and the live dir should just be /live.
Thoughts?
from nanobox-engine-python.
here's the reference in the build container I'm referring to:
https://github.com/nanobox-io/nanobox-docker-build/blob/master/hookit/lib/engine.rb#L10
and
https://github.com/nanobox-io/nanobox-docker-build/blob/master/hookit/lib/engine.rb#L17
Though... the nos_code_dir is actually referring to the staging_dir in the build container. So to rephrase, we may need to consider making the staging_dir /code and the live_dir /live. I'm sure python is just the first runtime to exploit this issue.
Just some thought... the directories were considered before 'nanobox dev' mode was conceptualized. So it probably deserves a change.
Any objections?
from nanobox-engine-python.
This issue has been fixed with nanobox-io/nanobox-docker-build#30.
@jason-riddle You can do the following to get the fix:
nanobox update-images
nanobox dev --rebuild
Let me know if you run into any issues.
Thanks!
from nanobox-engine-python.
Related Issues (17)
- requirements packages are installed but not accessible
- Boxfile exec field isn't used at the end of nanobox run HOT 5
- Pip installs packages to different site-packages directory HOT 13
- Refactor workflow
- Ensure pip modules are caching between builds HOT 3
- UTF-16
- Provide dependencies for Pillow by default
- Missing sqlite in python3.6 HOT 1
- Need help understanding Python
- Proposal for automatically installing OS packages based on Python requirements HOT 1
- Python engine cmd error HOT 4
- python-3.6 and psycopg2 (Error: pg_config executable not found.) HOT 2
- Python from pkgin is compiled with old flags HOT 2
- ignoring Boxfile when specifying python34 HOT 4
- Could not open requirements file: [Errno 2] No such file or directory: '/requirements.txt' => my requirements.txt is in /code/ HOT 9
- /opt/nos/lib/payload.sh: line 9: PL_error:: command not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanobox-engine-python.