2023-06-26 12:20:59 +02:00
|
|
|
FROM alpine:3.18
|
2020-08-17 23:46:05 +02:00
|
|
|
|
2019-07-27 16:03:05 +02:00
|
|
|
ENV UID=1337 \
|
|
|
|
GID=1337
|
|
|
|
|
2021-02-05 18:39:27 +01:00
|
|
|
RUN apk add --no-cache ffmpeg su-exec ca-certificates bash jq curl yq
|
2019-07-27 16:03:05 +02:00
|
|
|
|
2020-02-25 21:59:39 +01:00
|
|
|
ARG EXECUTABLE=./mautrix-whatsapp
|
|
|
|
COPY $EXECUTABLE /usr/bin/mautrix-whatsapp
|
2019-07-27 16:03:05 +02:00
|
|
|
COPY ./example-config.yaml /opt/mautrix-whatsapp/example-config.yaml
|
|
|
|
COPY ./docker-run.sh /docker-run.sh
|
|
|
|
VOLUME /data
|
|
|
|
|
|
|
|
CMD ["/docker-run.sh"]
|