Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 497 Bytes

DEPLOY.md

File metadata and controls

23 lines (16 loc) · 497 Bytes

Setup

Download build.zip from GitHub Actions.

cp -r app app-bak
unzip build.zip -d ./app
chmod +x app/target/release/server

Build

docker build -t bard:1 .

Run

docker-compose up -d

Debug

https://www.runoob.com/docker/docker-mirror-acceleration.html

Ubuntu14.04、Debian7Wheezy 对于使用 upstart 的系统而言,编辑 /etc/default/docker 文件,在其中的 DOCKER_OPTS 中配置加速器地址:

DOCKER_OPTS="--registry-mirror=https://registry.docker-cn.com"