Skip to content

Commit

Permalink
clear dockerfile empty file
Browse files Browse the repository at this point in the history
  • Loading branch information
avelino committed Aug 17, 2020
1 parent bf94895 commit a52c804
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM golang:alpine as builder

COPY . /go/src/github.com/prest/prest
WORKDIR /go/src/github.com/prest/prest/cmd/prestd
ENV GO111MODULE=on
RUN apk add --no-cache git && \
go mod tidy && go build

FROM alpine

COPY --from=builder /go/src/github.com/prest/prest/cmd/prestd/prestd /app/prestd
ADD ./cmd/prestd/prest.toml /app/prest.toml
CMD ["/app/prestd"]

0 comments on commit a52c804

Please sign in to comment.