added docker stuff to get him off the ground
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -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" ]
|
||||||
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
@@ -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
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
python-dotenv
|
python-dotenv
|
||||||
discordpy
|
discord.py
|
||||||
nextcord
|
# nextcord
|
||||||
|
pandas
|
||||||
|
nltk
|
||||||
|
beautifulsoup4
|
||||||
|
requests
|
||||||
|
stockquotes
|
||||||
|
|||||||
Reference in New Issue
Block a user