update v0.7.1 for nali

This commit is contained in:
Stille 2023-02-08 01:04:29 +08:00
parent 1d50ba633d
commit b620fbcbe7
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
FROM golang:alpine as builder
ENV VERSION 0.7.1
RUN apk add --no-cache make git
RUN git clone --depth 1 https://github.com/zu1k/nali /nali-src
WORKDIR /nali-src

View File

@ -10,8 +10,8 @@ Docker [stilleshan/nali](https://hub.docker.com/r/stilleshan/nali)
## docker
由于镜像不含 IP 数据库,所以建议后台启动容器服务,挂载目录,每次使用将会自动下载和保留 IP 数据库到本地,方便后续多次使用.
```shell
docker run -d --name nali --restart always \
-v $PWD/conf:/root/.nali \
docker run -itd --name nali --restart always \
-v /root/nali:/root/.local\
stilleshan/nali
```