caddy's file server, but as a standalone application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
327 B

  1. FROM golang:1.14 as build-env
  2. WORKDIR /go/src/app
  3. ADD . /go/src/app
  5. ENV GOBIN="$GOPATH/bin"
  6. RUN go env
  7. RUN go get -d -v ./...
  8. RUN go build -o /go/bin/faila ./src
  9. FROM
  10. COPY --from=build-env /go/bin/faila /
  11. COPY --from=build-env /go/src/app/hosted/ /hosted/
  12. CMD ["/faila"]