First, install Docker here.
Then run the following commands in a Linux shell:
image=hub.aiursoft.cn/aiursoft/homepage
appName=homepage
sudo docker pull $image
sudo docker run -d --name $appName --restart unless-stopped -p 5000:5000 -v /var/www/$appName:/data $image
That will start a web server at http://localhost:5000
and you can test the app.
The docker image has the following context:
Properties | Value |
---|---|
Image | hub.aiursoft.cn/aiursoft/homepage |
Ports | 5000 |
Binary path | /app |
Data path | /data |