diff --git a/Dockerfile b/Dockerfile index 33b7172..c91a270 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,14 +8,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libpq-dev \ && rm -rf /var/lib/apt/lists/* -# Copy dependency files -COPY pyproject.toml ./ +# Copy all project files needed for installation +COPY pyproject.toml README.md ./ +COPY src/ ./src/ # Install Python dependencies -RUN pip install --no-cache-dir -e . +RUN pip install --no-cache-dir . -# Copy application code -COPY src/ ./src/ +# Copy remaining files COPY migrations/ ./migrations/ COPY alembic.ini ./ diff --git a/pyproject.toml b/pyproject.toml index 57b370e..9e51f44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "guardden" version = "0.1.0" description = "A comprehensive Discord moderation bot with AI-powered content filtering" readme = "README.md" -license = {text = "MIT"} +license = "MIT" requires-python = ">=3.11" authors = [ {name = "GuardDen Team"} @@ -15,7 +15,6 @@ authors = [ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ]