diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index fcd80ee..0000000 --- a/.dockerignore +++ /dev/null @@ -1,45 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] - -# Distribution / packaging -build/ -dist/ -*.egg-info/ - -# Virtual environments - -.venv/ -env/ -ENV/ - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.cache -nosetests.xml -coverage.xml - -# PyInstaller -*.spec - -# macOS specific files -.DS_Store - -# Windows specific files -Thumbs.db -desktop.ini - -# Tools and editors -.idea/ -.vscode/ -cmder/ - -# Output directories -Output/ -te/ diff --git a/.github/workflows/docker-build-test.yml b/.github/workflows/docker-build-test.yml deleted file mode 100644 index 6309b16..0000000 --- a/.github/workflows/docker-build-test.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Docker Build Test - -on: - push: - tags: - - 0.* - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Build Docker image - uses: docker/build-push-action@v4 - with: - push: false - tags: docker-build-test:latest diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 231b9f9..0000000 --- a/Dockerfile +++ /dev/null @@ -1,49 +0,0 @@ -# Build stage -FROM python:3.14-slim AS builder - -WORKDIR /app - -# Install system dependencies -RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* - -# Install Poetry -RUN curl -sSL https://install.python-poetry.org | python3 - -ENV PATH="/root/.local/bin:$PATH" -RUN poetry self add "poetry-plugin-export" - -# Copy only dependency files to leverage Docker layer caching -COPY pyproject.toml poetry.lock ./ - -# update lock file to avoid failure -RUN poetry lock - -# Install dependencies -RUN poetry export -f requirements.txt --without-hashes -o requirements.txt - -# Install wheel (required to build packages like fire) -RUN pip install --upgrade pip setuptools wheel - -RUN pip install --no-cache-dir -r requirements.txt - -# Runtime stage -FROM python:3.14-slim - -# Set environment variables -ENV PYTHONDONTWRITEBYTECODE=1 -ENV PYTHONUNBUFFERED=1 - -WORKDIR /app - -# Copy only the necessary files from the builder stage -COPY --from=builder /usr/local/lib/python3.14/site-packages /usr/local/lib/python3.14/site-packages -COPY --from=builder /usr/local/bin /usr/local/bin - -# Copy application code -COPY . . - -# Health check -HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ - CMD curl -f http://localhost:8718/health || exit 1 - -# Default command -CMD ["python", "-m", "agentic_security"] diff --git a/mkdocs.yml b/mkdocs.yml index 19db29b..25e0402 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -38,7 +38,6 @@ nav: # - Project: # - Setup: setup.md # - Version control: version_control.md - # - Docker: docker.md # - Variables: variables.md # - Custom libraries: custom_libraries.md # - Database: database.md