Skip to content

Commit

Permalink
🐛 update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Nov 23, 2022
1 parent 4f779cb commit 96e79ce
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ FROM scratch

ENV PORT=3000
COPY --from=builder /build/go-file /
WORKDIR /data
EXPOSE 3000
ENTRYPOINT ["/go-file"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Please visit https://go-file.herokuapp.com/ to have a try yourself.
11. 支持 Token API 验证,便于与其他系统整合。
12. 为不熟悉命令行的用户制作了启动器,[详见此处](https://github.com/songquanpeng/gofile-launcher)
13. 配套 CLI 工具,支持命令行上传文件,支持 P2P 模式文件分享,[详见此处](https://github.com/songquanpeng/gofile-cli)
14. Docker 一键部署:`docker run -d -p 3000:3000 justsong/go-file`
14. Docker 一键部署:`docker run -d -p -v /data 3000:3000 justsong/go-file`

## 使用方法
> v0.3.3 以及之前版本的使用方法请[点击此处](https://github.com/songquanpeng/go-file/tree/52e8303e33e99bbcaf583d2d5a5bb0ec197bc676#使用方法)
Expand Down
2 changes: 1 addition & 1 deletion common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var StartTime = time.Now()
var Version = "v0.4.4"
var Version = "v0.4.5"
var OptionMap map[string]string

var ItemsPerPage = 10
Expand Down

0 comments on commit 96e79ce

Please sign in to comment.