Beep backend accepts PUT requests and publishes them to NAT queue.
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.

16 lines
348 B

FROM golang:1.11-rc-alpine as build
RUN apk add --no-cache git=2.18.1-r0
COPY go.mod go.sum .env *.go ./
COPY backend-protobuf/go ./backend-protobuf/go
RUN go get -d -v ./...
RUN CGO_ENABLED=0 go build -ldflags "-s -w"
FROM scratch
COPY --from=build /src/publish /publish
COPY --from=build /src/.env /.env
ENTRYPOINT ["/publish"]