This commit is contained in:
Kenneth 2018-09-26 10:04:26 +08:00
parent 66a69f873f
commit 5961e23492

16
Dockerfile_frps Normal file
View File

@ -0,0 +1,16 @@
FROM golang:1.10
COPY . /go/src/github.com/fatedier/frp
RUN cd /go/src/github.com/fatedier/frp \
&& make \
&& mv bin/frps /frps \
&& mv conf/frps.ini /frps.ini \
&& make clean \
&& rm -r /go
WORKDIR /
EXPOSE 80 443 6000 7000 7500
ENTRYPOINT ["/frps"]