diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..3a903e1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,13 @@ +**/__pycache__/ +**/datasets/ +dist/ +venv/ +*.egg-info/ + +*.env +*.log +*.swp + +.coverage +coverage.xml +index.html diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..905a723 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3.10 + +WORKDIR /taleweave + +# COPY requirements/cpu.txt /taleweave/requirements/cpu.txt +# RUN pip install --no-cache-dir -r requirements/cpu.txt + +COPY requirements/base.txt /taleweave/requirements/base.txt +RUN pip install --no-cache-dir -r requirements/base.txt +RUN pip install --no-cache-dir --index-url https://test.pypi.org/simple/ packit_llm==0.1.0 + +COPY adventure/ /taleweave/adventure/ + +CMD ["python", "-m", "adventure.main"] diff --git a/requirements/base.txt b/requirements/base.txt index adb3b88..661e258 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,6 +1,19 @@ +coloredlogs==15.0.1 +discord.py==2.3.2 +fnvhash==0.1.0 +graphviz==0.20.3 +Jinja2==3.1.3 +langchain-community==0.0.36 langchain-core==0.1.50 -packit-llm==0.1.0 +mistletoe==1.3.0 +numpy==1.26.4 +# packit-llm==0.1.0 +pillow==10.3.0 pydantic==2.7.1 pydantic_core==2.18.2 +pyee==11.1.0 python-dotenv==1.0.1 PyYAML==6.0.1 +rule-engine==4.4.0 +websocket-client==1.8.0 +websockets==12.0