aboutsummaryrefslogblamecommitdiff
path: root/app_build/static/Dockerfile
blob: cdba59ad53315d790bf93d0517fa7ed6ebc76029 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                             
FROM golang:1.11.1-stretch as builder

COPY ./goStatic /goStatic
WORKDIR /goStatic
RUN CGO_ENABLED=0 go build -a -o web-server .

FROM scratch
COPY --from=builder /goStatic/web-server /
ENTRYPOINT ["/web-server"]