Skip to content

Commit 665129c

Browse files
committed
adding dockerfile
1 parent 98172cd commit 665129c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM golang:1.14-alpine AS builder
2+
RUN apk add --no-cache git
3+
RUN GO111MODULE=auto go get -u -v github.com/projectdiscovery/simplehttpserver
4+
5+
FROM alpine:latest
6+
COPY --from=builder /go/bin/simplehttpserver /usr/local/bin/
7+
8+
ENTRYPOINT ["simplehttpserver"]

0 commit comments

Comments
 (0)