mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
12 lines
403 B
Docker
12 lines
403 B
Docker
FROM golang:alpine
|
|
ADD ./service /service
|
|
WORKDIR /service
|
|
RUN go build -o V2RayA .
|
|
RUN echo "deb http://mirrors.ustc.edu.cn/debian stable main contrib non-free" > /etc/apt/sources.list
|
|
RUN echo "deb http://mirrors.ustc.edu.cn/debian stable-updates main contrib non-free" >> /etc/apt/sources.list
|
|
RUN apt-get update
|
|
RUN apt-get install -y iptables
|
|
ENV GIN_MODE=release
|
|
EXPOSE 2017
|
|
ENTRYPOINT "./V2RayA"
|