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 435e88c commit 4db054dCopy full SHA for 4db054d
Dockerfile
@@ -1,9 +1,7 @@
1
-FROM golang:1.16-alpine AS builder
2
-RUN apk add --no-cache git
+FROM golang:1.16-alpine as build-env
3
RUN GO111MODULE=on go get -v github.com/projectdiscovery/simplehttpserver/cmd/simplehttpserver
4
5
FROM alpine:latest
6
RUN apk add --no-cache bind-tools ca-certificates
7
-COPY --from=builder /go/bin/simplehttpserver /usr/local/bin/
8
-
9
-ENTRYPOINT ["simplehttpserver"]
+COPY --from=build-env /go/bin/simplehttpserver /usr/local/bin/simplehttpserver
+ENTRYPOINT ["simplehttpserver"]
0 commit comments