Mautrix-Bot/Dockerfile
2021-02-24 00:15:20 +05:30

15 lines
192 B
Docker

FROM golang:alpine AS build
WORKDIR /app/
COPY . .
RUN go build -ldflags "-s -w" bot.go
FROM alpine:edge
WORKDIR /app/
COPY --from=build /app/bot /app/piped-mautrix
CMD ./piped-mautrix