set now apline
This commit is contained in:
parent
a4c29d47b7
commit
285f6ba886
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
FROM golang:alpine
|
||||||
|
|
||||||
|
COPY . /go/src/github.com/fatedier/frp
|
||||||
|
|
||||||
|
RUN apk update \
|
||||||
|
&& apk add make \
|
||||||
|
&& 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