From 8d974a6eab18e2956af4f4676783238e636b9df3 Mon Sep 17 00:00:00 2001
From: Alexander Olofsson <ace@haxalot.com>
Date: Tue, 19 Jul 2022 20:24:09 +0200
Subject: [PATCH] CI: Add the forgotten dockerfile

---
 Dockerfile.bot | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Dockerfile.bot

diff --git a/Dockerfile.bot b/Dockerfile.bot
new file mode 100644
index 0000000..c770e34
--- /dev/null
+++ b/Dockerfile.bot
@@ -0,0 +1,12 @@
+FROM ruby
+
+COPY Gemfile matrix-sdk.gemspec /app/
+COPY examples/ /app/bin/
+COPY lib/ /app/lib/
+WORKDIR /app
+
+RUN bundle install -j4 \
+ && echo "#!/bin/sh\ncd /app\nexec bundle exec bin/simple_bot.rb \"\$@\"" > /usr/local/bin/simple_bot \
+ && chmod +x /usr/local/bin/simple_bot
+
+ENTRYPOINT [ "/usr/local/bin/simple_bot" ]
-- 
GitLab