Skip to content

Commit

Permalink
Adapt docker commands to versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
ppernot committed May 3, 2022
1 parent 3358715 commit 8ce70e4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker/commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ SETUP :

BUILD :
1/ cd Titan-APSIS
2/ docker build -t ppernot1/reactorui -f ReactorUI/docker/Dockerfile .
3/ docker push ppernot1/reactorui
2/ docker build -t ppernot1/reactorui:v1.3 -f ReactorUI/docker/Dockerfile .
3/ docker push ppernot1/reactorui:v1.3

RUN :
UI :
1/ cd Projects
2/ docker run -d -p 3838:3838 --mount type=bind,source="$(pwd)",target=/Projects --name reactorui ppernot1/reactorui
or, if using a local ChemDB version,
docker run -d -p 3838:3838 --mount type=bind,source="$(pwd)",target=/Projects --mount type=bind,source="$(pwd)"/../ChemDBPublic,target=/ChemDBLocal --name reactorui ppernot1/reactorui
2/ docker run -d -p 3838:3838 --mount type=bind,source="$(pwd)",target=/Projects --name reactorui ppernot1/reactorui:v1.3
or, if using a local ChemDB version,
docker run -d -p 3838:3838 --mount type=bind,source="$(pwd)",target=/Projects --mount type=bind,source="$(pwd)"/../ChemDBPublic,target=/ChemDBLocal --name reactorui ppernot1/reactorui:v1.3
3/ access http://localhost:3838 in browser

BASH :
* docker run -ti ppernot1/reactorui bash
* docker run -ti ppernot1/reactorui:v1.3 bash

0 comments on commit 8ce70e4

Please sign in to comment.