File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ FROM scratch
14
14
15
15
ENV PORT=3000
16
16
COPY --from=builder /build/go-file /
17
+ WORKDIR /data
17
18
EXPOSE 3000
18
19
ENTRYPOINT ["/go-file" ]
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ Please visit https://go-file.herokuapp.com/ to have a try yourself.
107
107
11 . 支持 Token API 验证,便于与其他系统整合。
108
108
12 . 为不熟悉命令行的用户制作了启动器,[ 详见此处] ( https://github.com/songquanpeng/gofile-launcher ) 。
109
109
13 . 配套 CLI 工具,支持命令行上传文件,支持 P2P 模式文件分享,[ 详见此处] ( https://github.com/songquanpeng/gofile-cli ) 。
110
- 14 . Docker 一键部署:` docker run -d -p 3000:3000 justsong/go-file `
110
+ 14 . Docker 一键部署:` docker run -d -p -v /data 3000:3000 justsong/go-file `
111
111
112
112
## 使用方法
113
113
> v0.3.3 以及之前版本的使用方法请[ 点击此处] ( https://github.com/songquanpeng/go-file/tree/52e8303e33e99bbcaf583d2d5a5bb0ec197bc676#使用方法 ) 。
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
)
13
13
14
14
var StartTime = time .Now ()
15
- var Version = "v0.4.4 "
15
+ var Version = "v0.4.5 "
16
16
var OptionMap map [string ]string
17
17
18
18
var ItemsPerPage = 10
You can’t perform that action at this time.
0 commit comments