ragnartrades / algotrader-angelone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Docker Image

docker build -t algotrader .

Save and compress image to gzip file

docker save algotrader | gzip > algotrader.tar.gz

Transfer file to server using SCP

scp -i algotrader.pem algotrader.tar.gz ubuntu@example.com:/home/ubuntu/

Decompress and load image

gunzip -c algotrader.tar.gz | docker load

Create Docker Container

Note

Make sure to set set restart policy to "always" and map host port 80 to docker post 800 when creating the container

docker run -d -p 80:8000 --name algotrader --restart always algotrader

About


Languages

Language:Python 53.3%Language:HTML 38.5%Language:CSS 6.2%Language:Dockerfile 2.0%