mautrix-whatsapp/Dockerfile.ci

16 lines
444 B
Docker
Raw Normal View History

2020-06-23 15:40:05 +02:00
FROM alpine:3.12
2019-07-27 16:03:05 +02:00
ENV UID=1337 \
GID=1337
2020-05-08 22:53:30 +02:00
RUN echo "@edge_community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories
2020-06-23 15:40:05 +02:00
RUN apk add --no-cache ffmpeg su-exec ca-certificates olm@edge_community
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"]