Create loop, setup docker file for testing.

This commit is contained in:
2023-04-15 22:26:46 -04:00
parent c38584bcd2
commit 5d0aaf53a8
6 changed files with 59 additions and 11 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM python:3.8.10-slim
# install dependencies for mysqlclient
# RUN apt-get update && apt-get -y upgrade && apt-get -y install python3-dev default-libmysqlclient-dev build-essential
RUN pip install --upgrade pip
WORKDIR /home
COPY cogs cogs/
COPY dakiny_bot.py dakiny_bot.py
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
# remove build deps that aren't needed to run
# RUN apt-get -y remove python3-dev build-essential && apt-get -y autoremove
CMD ["python3", "./dakiny_bot.py"]