summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: ab2b91f31c92c71c7d9fe677721086ba7a56adf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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