Helper quasi human for Fantasy World Zookeeper. Uses tdlib-go for interacting with Telegram.
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.

15 lines
348 B

  1. FROM fat0troll/tdlib-golangci AS builder
  2. COPY . /build/
  3. WORKDIR /build/
  4. RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 GOFLAGS='-mod=vendor' go build -ldflags '-w -extldflags "-static"'
  5. FROM scratch
  6. COPY --from=builder /build/fwzookeeper_helper /usr/local/bin/fwzookeeper_helper
  7. VOLUME ["/data"]
  8. ENTRYPOINT [ "/usr/local/bin/fwzookeeper_helper" ]