Skip to content

Commit

Permalink
Initial Docker support
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Aug 15, 2016
1 parent a655f56 commit 3fcf7ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Dockerfile
.git
*~
*#
.#*
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3fcf7ef

Please sign in to comment.