Update template to match new project style.

This commit is contained in:
2024-05-22 13:38:49 -04:00
parent a2099cf4b5
commit f3116ff283
7 changed files with 113 additions and 14 deletions
+5 -8
View File
@@ -1,16 +1,13 @@
FROM python:3.10.6-slim
RUN pip install --upgrade pip
FROM python:3.11.9-slim
WORKDIR /home
COPY requirements.txt requirements.txt
COPY config.py config.py
COPY bot.py bot.py
COPY main.py main.py
COPY pyproject.toml pyproject.toml
COPY cogs cogs/
RUN pip install -r requirements.txt
RUN pip install --upgrade pip && pip install poetry && poetry export -f requirements.txt --output requirements.txt && pip install -r requirements.txt
CMD ["python3", "-u", "./bot.py"]
CMD ["python3", "-u", "./main.py"]