text docker tensorflow flask keras uwsgi nginx process
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text docker tensorflow flask keras uwsgi nginx process相关的知识,希望对你有一定的参考价值。
Thie probably works but i think vestas iw default to another service. ill use a pache
SSH into server as user lorin
#some docker commands: docker images / docker ps / docker run IMAGEID / docker pull NAMEOFDOCKERIMAGE i.e joelogan/keras-tensorflow-flask-uwsgi-nginx-docker
#list images
docker images
docker run -it --name NEW_NAME_FOR_RUnningConta -d -p 8000:80 IMAGEIDTORUN
# the -it flag should keep it runngni
docker ps #see running images
#docker now runing at port 8000 or whatever port is selected.
#get to the vesta ngnex config to the new port
#AS SUDO FOR THIS get to the directory /home/admin/conf/web/ there will be list of urls
sudo nano FILENAME.conf
Delete all but the following:
sudo ln -s /home/admin/conf/web /home/admin/conf/web
sudo /etc/nginx/ start
以上是关于text docker tensorflow flask keras uwsgi nginx process的主要内容,如果未能解决你的问题,请参考以下文章