mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 03:20:27 +00:00
12 lines
368 B
Docker
12 lines
368 B
Docker
FROM golang:latest AS compiler
|
|
WORKDIR /go/src/github.com/usefathom/fathom
|
|
ADD . /go/src/github.com/usefathom/fathom
|
|
RUN go get -u github.com/gobuffalo/packr/... && make docker
|
|
|
|
FROM alpine:latest
|
|
EXPOSE 8080
|
|
RUN apk add --update --no-cache bash ca-certificates
|
|
WORKDIR /app
|
|
COPY --from=compiler /go/src/github.com/usefathom/fathom/fathom .
|
|
CMD ["./fathom", "server"]
|