We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830a72b commit 73b3470Copy full SHA for 73b3470
dockerfiles/Dockerfile renamed to Dockerfile
@@ -1,6 +1,7 @@
1
FROM golang:1.10-alpine3.7 AS builder
2
-RUN apk add -U git
3
-RUN go get -u -v github.com/wzshiming/pic2ascii/cmd/pic2ascii
+WORKDIR /go/src/github.com/wzshiming/pic2ascii/
+COPY . .
4
+RUN go install ./cmd/...
5
6
FROM alpine:3.7
7
COPY --from=builder /go/bin/pic2ascii /usr/local/bin/
0 commit comments