diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d6bfbb3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM python:latest + +RUN python -m pip install --upgrade pip + +RUN pip install pandas +RUN pip install discord.py +RUN pip install nltk + +# below fuckery from stockquotes +RUN pip install beautifulsoup4 +RUN pip install requests + +WORKDIR /usr/src/app +COPY ./ ./ +RUN pip install -r requirements.txt + +CMD [ "python", "main.py" ] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f3ae6f7 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,12 @@ +version: '3.8' +services: + kwaylon: + container_name: kwaylon + image: kwaylon:latest + build: ./ + network_mode: host + volumes: + - /etc/localtime:/etc/localtime:ro + - /etc/timezone:/etc/timezone:ro +# - /mnt/dietpi_userdata/kwaylon:/usr/src/app + restart: unless-stopped diff --git a/requirements.txt b/requirements.txt index e72f020..b441fd9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,8 @@ python-dotenv -discordpy -nextcord \ No newline at end of file +discord.py +# nextcord +pandas +nltk +beautifulsoup4 +requests +stockquotes