infrastructure/app/build/static/Dockerfile
2020-09-12 20:17:07 +02:00

9 lines
213 B
Docker

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"]