mautrix-whatsapp/Dockerfile.ci
2020-06-23 16:40:05 +03:00

15 lines
444 B
Docker

FROM alpine:3.12
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 ffmpeg 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"]