docker run --name office2pdf -p 3000:3000 -d jetereting/office2pdf
# 通过 get 转化远程文档:http://localhost:3000/convert?originFile=文件网址
# 通过 post 直接转化本地:http://localhost:3000/convert 上传文件
GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -o office2pdf main.go
docker build . -t jetereting/office2pdf:1.0.1
docker run --name office2pdf -p 3000:3000 -d office2pdf
docker logs -f office2pdf
curl http://localhost:3000/convert?originFile=文件网址
#http://localhost:3000/convert?originFile=http://qn.eiyou.ga/tmp/%E6%B8%B8%E6%88%8F%E5%90%8D%E7%A7%B0%E6%B8%B8%E6%88%8F%E8%BD%AF%E4%BB%B6%E8%AF%B4%E6%98%8E%E4%B9%A6.doc