From 084153ca0bdf4cd684d28b2ff405e7689266cb7c Mon Sep 17 00:00:00 2001 From: zhongjin Date: Fri, 3 Feb 2023 15:42:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'Dockerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3115a0b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM matrixdotorg/synapse:v0.31.2 + +ADD rest_auth_provider /rest_auth_provider +ADD https://github.com/kamax-io/matrix-synapse-rest-auth/raw/master/rest_auth_provider.py /rest_auth_provider/rest_auth_provider.py +ADD https://github.com/kamax-io/matrix-synapse-rest-auth/raw/master/README.md /rest_auth_provider/README.md + +RUN cd /rest_auth_provider && find . -mtime +10950 -exec touch {} + && python setup.py install \ No newline at end of file