Comments (4)
I chose to mount the code like this because it is a common practice (although admittedly not universal) for development (see this thread).
Of course once we'll get to a production code an adequate COPY would be a better option.
from pytfa.
I stumbled upon this in an unrelated project:
add the flags
-e PGID=<gid> -e PUID=<uid>
In the run command to export environment variables linked to your user and group.
You can get the relevant information with
id <your_username>
from pytfa.
docker run -e PGID=$(id -g) -e PUID=$(id -u)
That could be a great option.
from pytfa.
That's probably similar to running the image as user:
docker run --user "$(id -u):$(id -g)"
I'll check if that conflicts with any other parts that require permissions for the original docker user.
from pytfa.
Related Issues (20)
- metabolomics integration HOT 3
- Unable to open Matlab models HOT 2
- KeyError and potential solution in sampling tutorial HOT 4
- SEED identifiers in thermo DB
- deltaGerr automatically sets to 2.0 after loading thermo model HOT 2
- Integration with eQuilibrator HOT 8
- tutorial_basics lots of warnings when mytfa.prepare() HOT 2
- Thermo DB as SQLite HOT 1
- tutorial_basic.py ERROR - Relaxation could not complete (no DeltaG relaxation found) HOT 7
- Get new delta G values after adding metabolomics data HOT 1
- Use displacement or not? HOT 1
- Relaxation of log concentration error HOT 1
- Problem with pytfa.relax_dgo due to sympy HOT 2
- CPLEX binaries should not be mandatory for Docker build HOT 6
- KeyError on .convert() HOT 2
- Problem with installation HOT 2
- Comma missing in constraint definition
- Problem with building Docker container HOT 1
- equilibrator-cache replaced quilt with zenodo
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 pytfa.