赞
踩
原文链接:https://dsx2016.com/?p=1740
公众号:大师兄2016
git仓库
https://github.com/excalidraw/excalidraw
docker-compose配置文件
https://github.com/excalidraw/excalidraw/blob/master/docker-compose.yml
拉取git代码
git clone https://github.com/excalidraw/excalidraw.git
cd excalidraw/
ports为要映射的端口号,此处修改为9006
- version: "3.8"
-
- services:
- excalidraw:
- build:
- context: .
- args:
- - NODE_ENV=development
- container_name: excalidraw
- ports:
- - "9006:80"
- restart: on-failure
- stdin_open: true
- healthcheck:
- disable: true
- environment:
- - NODE_ENV=development
- volumes:
- - ./:/opt/node_app/app:delegated
- - ./package.json:/opt/node_app/package.json
- - ./yarn.lock:/opt/node_app/yarn.lock
- - notused:/opt/node_app/app/node_modules
-
- volumes:
- notused:
docker-compose up --build -d
具体使用,自行引入即可
END
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。