Skip to content

Commit 73b3470

Browse files
committed
update Dockerfile
1 parent 830a72b commit 73b3470

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
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
2+
WORKDIR /go/src/github.com/wzshiming/pic2ascii/
3+
COPY . .
4+
RUN go install ./cmd/...
45

56
FROM alpine:3.7
67
COPY --from=builder /go/bin/pic2ascii /usr/local/bin/

0 commit comments

Comments
 (0)