VCityTeam / UD-Imuv-docker

0 stars 1 forks source link

Continuous deployment #6

Open mathieuLivebardon opened 3 years ago

mathieuLivebardon commented 3 years ago
ssh rict2
cd Data/FlyingCampus/UD-Imuv-docker
git pull
docker stop $(docker ps --filter ancestor="vcity:imuv" --format="{{.ID}}")
docker build --no-cache -t vcity:imuv Context
docker run -p 0.0.0.0:443:8000/tcp --detach --rm -t vcity:imuv

https://github.com/VCityTeam/DatAgoraWebSite/blob/master/.travis-deploy.sh

valentinMachado commented 3 years ago

if we git pull UD-Imuv-docker the key api (in the env.json) are needed to be copied every time