Mautrix-Bot/Dockerfile

16 lines
192 B
Docker
Raw Normal View History

2021-02-23 18:45:20 +00:00
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