Watch
1
0
Fork
You've already forked mautrix-discord
0
mirror of https://github.com/mautrix/discord.git synced 2026-09-16 07:42:06 -04:00
mautrix-discord/Dockerfile

20 lines
483 B
Text
Raw Permalink Normal View History

2026-08-25 13:17:14 +03:00
FROM golang:1-alpine3.24 AS builder
2022-03-31 13:41:34 -06:00
RUN apk add --no-cache git ca-certificates build-base su-exec olm-dev
COPY . /build
WORKDIR /build
RUN go build -o /usr/bin/mautrix-discord
2026-08-25 13:17:14 +03:00
FROM alpine:3.24
2022-03-31 13:41:34 -06:00
ENV UID=1337 \
GID=1337
RUN apk add --no-cache ffmpeg su-exec ca-certificates olm bash jq curl yq-go lottieconverter
2022-03-31 13:41:34 -06:00
COPY --from=builder /usr/bin/mautrix-discord /usr/bin/mautrix-discord
COPY --from=builder /build/docker-run.sh /docker-run.sh
VOLUME /data
CMD ["/docker-run.sh"]