Skip to content
Snippets Groups Projects
Commit dcb2bccb authored by orestis.malaspin's avatar orestis.malaspin
Browse files

oust docker. maintenant sur l'autre machine

parent 943a2897
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,15 @@ done
echo "$(pwd)"/site/
docker stop rustclass
docker build -t rustclasscont .
docker run --rm \
--mount src=$RUST_CLASS_ROOT/prog_seq,target=/usr/share/nginx/html/prog_seq/,type=bind\
--mount src=$SL_CLASS_ROOT/sol,target=/usr/share/nginx/html/sol/,type=bind\
--mount src=$MTI_CLASS_ROOT/mti,target=/usr/share/nginx/html/mti/,type=bind\
--name rustclass -p 80:80 -p 443:443 -d rustclasscont
rsync -avz index.html malaspinas@129.194.185.180:/www/
rsync -avz $RUST_CLASS_ROOT/prog_seq malaspinas@129.194.185.180:/www/
rsync -avz $SL_CLASS_ROOT/sol malaspinas@129.194.185.180:/www/
rsync -avz $MTI_CLASS_ROOT/mti malaspinas@129.194.185.180:/www/
# docker stop rustclass
# docker build -t rustclasscont .
# docker run --rm \
# --mount src=$RUST_CLASS_ROOT/prog_seq,target=/usr/share/nginx/html/prog_seq/,type=bind\
# --mount src=$SL_CLASS_ROOT/sol,target=/usr/share/nginx/html/sol/,type=bind\
# --mount src=$MTI_CLASS_ROOT/mti,target=/usr/share/nginx/html/mti/,type=bind\
# --name rustclass -p 80:80 -p 443:443 -d rustclasscont
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment