mirror of
https://github.com/fatedier/frp.git
synced 2024-12-14 02:31:21 +01:00
Initial Docker support
This commit is contained in:
parent
a655f5699b
commit
3fcf7efc5a
5
.dockerignore
Normal file
5
.dockerignore
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Dockerfile
|
||||||
|
.git
|
||||||
|
*~
|
||||||
|
*#
|
||||||
|
.#*
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
FROM golang:1.6
|
||||||
|
|
||||||
|
RUN go get github.com/tools/godep
|
||||||
|
COPY . /go/src/github.com/fatedier/frp
|
||||||
|
RUN cd /go/src/github.com/fatedier/frp \
|
||||||
|
&& make \
|
||||||
|
&& mv bin/frpc bin/frps /usr/local/bin \
|
||||||
|
&& mv conf/*.ini /
|
||||||
|
WORKDIR /
|
||||||
|
ENTRYPOINT ["frps"]
|
||||||
|
EXPOSE 6000 7000 7500
|
Loading…
Reference in New Issue
Block a user