Add decentralized services

This commit is contained in:
gidsi 2020-09-27 00:30:03 +02:00
commit c7d0adf780
No known key found for this signature in database
GPG key ID: B47291090A6E5604
19 changed files with 346 additions and 19 deletions

View file

@ -5,11 +5,10 @@ COPY . .
RUN go get -d ./...
RUN go install ./...
FROM alpine:latest
RUN apk --no-cache add ca-certificates tzdata
WORKDIR /app
COPY --from=builder /go/bin/app .
COPY --from=builder /go/bin/spaceapi.ccc.de ./app
COPY config.yaml config.yaml
EXPOSE 8080
CMD ["./app"]