aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e0b4600
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM python:3
+
+ARG GL_ACCESS_TOKEN
+ARG GL_SECRET
+
+WORKDIR /app
+
+COPY . .
+
+RUN pip install --no-cache-dir .
+
+RUN lab-bot setup \
+ --name="docker" \
+ --access_token="$GL_ACCESS_TOKEN" \
+ --secret="$GL_SECRET"
+
+CMD [ "lab-bot", "run", "docker" ]