diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-03-29 11:59:14 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-03-29 11:59:14 +0200 |
commit | 18be53d85960d83f92d891b737306f30d5ac5f30 (patch) | |
tree | c28db08ddb621ba2f34a549638e2fef545888a34 /Dockerfile | |
parent | 0ffe0731e6aca624695dd528761d2e459256ee67 (diff) | |
download | lab-bot-18be53d85960d83f92d891b737306f30d5ac5f30.tar.gz lab-bot-18be53d85960d83f92d891b737306f30d5ac5f30.zip |
Add Dockerfile for containered deployment
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
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" ] |