1 Star 0 Fork 128

汤勺/nging

forked from admpub/nging 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 816 Bytes
一键复制 编辑 原始数据 按行查看 历史
hankshen 提交于 2022-12-31 11:57 . update
FROM alpine
RUN apk update
RUN apk upgrade
# RUN wget -c https://dl.webx.top/nging/v4.1.5/nging_linux_amd64.tar.gz -O /home/nging_linux_amd64.tar.gz
COPY ./dist/nging_linux_amd64.tar.gz /home/nging_linux_amd64.tar.gz
RUN tar -zxvf /home/nging_linux_amd64.tar.gz -C /home
RUN rm -rf /home/nging_linux_amd64.tar.gz
WORKDIR /home/nging_linux_amd64
# VOLUME [ "/home/nging_linux_amd64/data/cache", "/home/nging_linux_amd64/data/ftpdir", "/home/nging_linux_amd64/data/logs", "/home/nging_linux_amd64/data/sm2", "/home/nging_linux_amd64/myconfig", "/home/nging_linux_amd64/public" ]
ENTRYPOINT [ "./nging" ]
CMD [ "-p", "9999", "-c", "myconfig/config.yaml" ]
# * build *
# ./build-by-xgo.sh linux_amd64 min
# docker build . -t "admpub/nging:latest"
# * test *
# docker run --rm -it -p "7770:9999" admpub/nging:latest
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/tangshao2009/nging.git
git@gitee.com:tangshao2009/nging.git
tangshao2009
nging
nging
master

搜索帮助