Coder Social home page Coder Social logo

Comments (5)

tylerflint avatar tylerflint commented on June 2, 2024

I think you're right. Thanks for the heads up!

from nanobox-engine-python.

tylerflint avatar tylerflint commented on June 2, 2024

@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.

tylerflint avatar tylerflint commented on June 2, 2024

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.

tylerflint avatar tylerflint commented on June 2, 2024

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.

tylerflint avatar tylerflint commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.