-
Notifications
You must be signed in to change notification settings - Fork 21
安装部署
long0419 edited this page Jul 7, 2020
·
1 revision
建议使用git clone
$ git clone https://github.com/Mileworks/plm-files-preview.git && cd plm-files-preview
根据不同操作系统选择安装docker-ce或者Docker Desktop。
安装 docker-compose
运行命令:
curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
给docker-compose执行权限,运行命令:
chmod +x /usr/local/bin/docker-compose
$ cd build
$ docker-compose up -d
如果需要自定义镜像内容,可重新构建dockerfile, 进入build 目录执行如下命令:
docker build -t plm-files-preview-services -f Dockerfile .