Deployment on Digital Ocean



ssh root@remotehost mkdir /data
DOCKER_HOST=ssh://root@remotehost ./deploy.sh


examples/deploy-stand-alone-python/deploy.sh
docker build -t flasker .
docker container stop flask --time 0
docker container rm flask
docker run -d --name flask -v/data:/data --env COUNTER_DIR=/data --restart unless-stopped  -p5000:5000 flasker