update Dockerfile

This commit is contained in:
ginuerzh 2018-12-09 16:57:42 +08:00
parent d8754bfb9d
commit 5e5bb3035d

View File

@ -1,8 +1,10 @@
FROM golang:alpine as builder
FROM golang:1 as builder
ADD . /go/src/github.com/ginuerzh/gost/
ADD . /data
RUN go install github.com/ginuerzh/gost/cmd/gost
WORKDIR /data
RUN cd cmd/gost && go install
FROM alpine:latest