summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..ab2b91f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,31 @@
+# This file is a template, and might need editing before it works on your project.
+FROM python:3.8
+
+# Edit with mysql-client, postgresql-client, sqlite3, etc. for your needs.
+# Or delete entirely if not needed.
+RUN apt-get update && rm -rf /var/lib/apt/lists/*
+
+WORKDIR /usr/src/app
+
+COPY ./cogs/ ./cogs/
+COPY ./overlays/ ./overlays/
+COPY ./config/ ./config/
+COPY ./synthy.py ./synthy.py
+COPY ./config.ini ./config.ini
+COPY ./requirements.txt ./requirements.txt
+
+RUN pip install --no-cache-dir -r requirements.txt
+
+ENV discord_bot_token=""
+ENV oxford_app_id=""
+ENV oxford_app_key=""
+ENV db_name=""
+ENV db_user=""
+ENV db_pass=""
+ENV db_host=""
+ENV db_schema=""
+ENV db_port="5432"
+
+COPY . /usr/src/app
+
+CMD python3 synthy.py