add fprs
This commit is contained in:
parent
66a69f873f
commit
5961e23492
16
Dockerfile_frps
Normal file
16
Dockerfile_frps
Normal 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"]
|
Loading…
Reference in New Issue
Block a user