From 8ce70e49b8ac288dd21c8d3b071ffec19884ce2e Mon Sep 17 00:00:00 2001 From: Pascal PERNOT Date: Tue, 3 May 2022 09:42:01 +0200 Subject: [PATCH] Adapt docker commands to versioning --- docker/commands.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/commands.txt b/docker/commands.txt index 3cbd7fa..9808b82 100755 --- a/docker/commands.txt +++ b/docker/commands.txt @@ -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