Simplify build process.
This commit is contained in:
parent
ab797443f2
commit
4c5ead65c7
6 changed files with 24 additions and 11 deletions
14
README.md
14
README.md
|
@ -1,15 +1,15 @@
|
|||
# 🌏️ ExoPlaSim Docker
|
||||
|
||||
## Environment Variables
|
||||
## Instructions
|
||||
1. Create an ExoPlaSim model.
|
||||
2. Replace the example model in the `build` directory with your own model (keeping the filename `model.py`).
|
||||
3. Run the docker container (eg. `docker compose run -it --rm exoplasim`).
|
||||
|
||||
## Optional Environment Variables
|
||||
|
||||
**UID:** UID of host/guest user.
|
||||
|
||||
**GID:** GID of host/guest user.
|
||||
|
||||
**MODEL:** Path to model (required).
|
||||
**BUILD_DIR:** Path to build directory.
|
||||
|
||||
## Instructions
|
||||
1. Create an ExoPlaSim model
|
||||
2. Save it somewhere with the filename `model.py`
|
||||
3. Edit the `.env` file and add the directory containing `model.py` after `MODEL=`
|
||||
4. Run the docker container (eg. `docker compose run -it --rm exoplasim`)
|
Loading…
Add table
Add a link
Reference in a new issue