mirror of
https://github.com/TeamPiped/Mautrix-Bot.git
synced 2024-08-14 23:56:15 +00:00
15 lines
192 B
Docker
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
|