mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-14 09:23:51 +01:00
19 lines
555 B
Text
19 lines
555 B
Text
FROM alpine:3.12
|
|
|
|
RUN echo $'\
|
|
@edge http://dl-cdn.alpinelinux.org/alpine/edge/main\n\
|
|
@edge http://dl-cdn.alpinelinux.org/alpine/edge/testing\n\
|
|
@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories
|
|
|
|
ENV UID=1337 \
|
|
GID=1337
|
|
|
|
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq@edge
|
|
|
|
ARG EXECUTABLE=./mautrix-whatsapp
|
|
COPY $EXECUTABLE /usr/bin/mautrix-whatsapp
|
|
COPY ./example-config.yaml /opt/mautrix-whatsapp/example-config.yaml
|
|
COPY ./docker-run.sh /docker-run.sh
|
|
VOLUME /data
|
|
|
|
CMD ["/docker-run.sh"]
|