mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-11-18 07:53:14 +01:00
15 lines
439 B
Text
15 lines
439 B
Text
FROM alpine:latest
|
|
|
|
ENV UID=1337 \
|
|
GID=1337
|
|
|
|
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
|
|
RUN apk add --no-cache su-exec ca-certificates olm@edge_community
|
|
|
|
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"]
|