better doc

This commit is contained in:
Adrian Amaglio 2021-02-17 14:22:21 +01:00
parent 7eb4e46ff3
commit 0685e81bb0

View File

@ -17,7 +17,8 @@ While in this file directory, open a terminal and run the following command (the
```
docker run -it --name pythonsandbox --rm --network host -v "$(pwd)"/production_eleves:/app/python_app/modules -v "$(pwd)"/config:/app/config jeancloud/pythonsandbox
```
(Logs will flow in your terminal, CTRL+C will stop the process).
(Logs will flow in your terminal, CTRL+C will stop the process).
Read carefuly the first messages!
## Use it
@ -42,6 +43,9 @@ Also, as this is poorly tested, the docker system make sure the environment is s
docker build . -t jeancloud/pythonsandbox
```
or pull it
```
docker pull jeancloud/pythonsandbox
```
## Volumes
- `/app/modules` is where python scripts will be executed on some URL calls.