summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorlexicade <jasonnlelong@gmail.com>2023-01-27 21:06:30 +0000
committerlexicade <jasonnlelong@gmail.com>2023-01-27 21:06:30 +0000
commit52801b4de1d63cd01191acf7fcee137977140ec0 (patch)
tree08271a1f1e3e8060486b6651c67c9934867c648e /Dockerfile
parent8df873808c86805624851356f5dea76ec621de23 (diff)
Project initHEADmain
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