8 lines
489 B
Docker
8 lines
489 B
Docker
FROM matrixdotorg/mjolnir:latest
|
|
WORKDIR /usr/src/mjolnir
|
|
ADD https://raw.githubusercontent.com/matrix-org/mjolnir/main/config/default.yaml /etc/mjolnir/default.yaml
|
|
ADD https://raw.githubusercontent.com/matrix-org/mjolnir/main/mjolnir-entrypoint.sh /usr/bin/local/mjolnir-entrypoint.sh
|
|
RUN chmod +x /usr/bin/local/mjolnir/mjolnir-entrypoint.sh
|
|
RUN chmod +x /usr/bin/local/mjolnir/start.sh
|
|
ENTRYPOINT ["/usr/bin/local/mjolnir/mjolnir-entrypoint.sh"]
|
|
CMD ["/usr/bin/local/mjolnir/start.sh"] |