-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment to server
Guillaume Bécan edited this page Aug 29, 2016
·
5 revisions
cd server
activator dist
cd ..
sudo docker build -t gbecan/models2016-program .
sudo docker push gbecan/models2016-program
ssh root@models16
cd /var/models2016
./update.sh
The script displays the internal address of the container. We now have to update the nginx configuration.
nano /etc/nginx/sites-enabled/models2016-program
nginx -s reload