Merge branch 'main' into 49--view-votes-can't-see-HC-elections
build_develop / build (push) Failing after 16s
build_develop / build (push) Failing after 16s
This commit is contained in:
@@ -105,6 +105,7 @@ venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
poetry.lock
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
|
||||
+4
-7
@@ -1,22 +1,19 @@
|
||||
FROM python:3.10.6-slim
|
||||
FROM python:3.11.9-slim
|
||||
|
||||
# install dependencies
|
||||
RUN apt-get update && apt-get -y upgrade && apt-get -y install git
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN apt-get update && apt-get -y upgrade && apt-get -y install git sqlite3
|
||||
|
||||
WORKDIR /home
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
|
||||
COPY config.py config.py
|
||||
COPY main.py main.py
|
||||
COPY utils.py utils.py
|
||||
COPY pyproject.toml pyproject.toml
|
||||
|
||||
COPY classes classes/
|
||||
COPY cogs cogs/
|
||||
COPY database_setup database_setup/
|
||||
|
||||
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", "./main.py"]
|
||||
@@ -0,0 +1,22 @@
|
||||
[tool.poetry]
|
||||
name = "dakiny-bot"
|
||||
version = "0.1.0"
|
||||
description = "Dakiny's Discord Bot."
|
||||
authors = ["imcompiling <[email protected]>"]
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
gitpython = "3.1.43"
|
||||
fastapi = "0.111.0"
|
||||
hydra-core = "1.3.2"
|
||||
nextcord = "2.4.2"
|
||||
pandas = "1.5.2"
|
||||
python-dotenv = "1.0.0"
|
||||
pytz = "2022.7.1"
|
||||
sqlalchemy = "1.4.46"
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
@@ -1,8 +0,0 @@
|
||||
GitPython==3.1.43
|
||||
fastapi==0.111.0
|
||||
hydra-core==1.3.2
|
||||
nextcord==2.4.2
|
||||
pandas==1.5.2
|
||||
python-dotenv==1.0.0
|
||||
pytz==2022.7.1
|
||||
sqlalchemy==1.4.46
|
||||
Reference in New Issue
Block a user