@@ -26,6 +26,22 @@ The docker build process consists in three steps
2. Create a build image that retrieve the unl2rdf parser sources and builds it
3. Create an image to run the flask application
## Update
### Web sevice
```
git pull
# rebuild should not be required most of the time
docker-compose build
docker-compose down
docker-compose up
```
### UnlTool
To update the unltool jar, first upde `GIT_REF` in the `.env` file, then run the previous update step with a rebuild (not optionnal)
### Triggering a rebuild
Docker caches every step of the build, if the java parser has changed, `docker-compose build` will not detect it, so you have to change `GIT_REF=` in the `.env` file to point to the desired commit, branch or tag. Then you can run `docker-compose build` and only the required steps to rebuild the java parser will run again.