Update Dockerfile.dev

This commit is contained in:
tzfljuv authored and GitHub committed 2023-04-05 04:15:24 +00:00
1 parent f9dcdad23f
commit 995aaa6651
1 file changed
+2 -2
+2 -2
View File
@@ -2,7 +2,7 @@ FROM v2fly/v2fly-core AS v2ray
RUN ls /usr/local/share/v2ray || (mkdir -p /usr/local/share/v2ray && touch /usr/local/share/v2ray/.copykeep)
FROM golang:alpine
RUN apk --no-cache add iptables ip6tables git
RUN apk --no-cache add iptables ip6tables nftables git
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn
RUN go get github.com/codegangsta/gin
@@ -14,4 +14,4 @@ ENV CONFIG=../config.json
ENV GIN_BIN=../v2rayA
ENV GIN_GUILD_ARGS="-o ${GIN_BIN}"
EXPOSE 2017
ENTRYPOINT gin -a 2017 -i run
ENTRYPOINT gin -a 2017 -i run