1
0
simple-file-server/Dockerfile

14 lines
254 B
Docker
Raw Permalink Normal View History

FROM golang:1.19 AS builder
COPY . /build
WORKDIR /build
RUN make simple-file-server
FROM scratch AS prod
2019-12-26 09:55:55 -08:00
MAINTAINER Tony Grosinger <tony@grosinger.net>
COPY --from=builder /build/bin/simple-file-server /
2019-12-26 09:55:55 -08:00
EXPOSE 80
ENTRYPOINT ["/simple-file-server"]