Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
version: 2
updates:
# Python dependencies (pip)
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "09:00"
open-pull-requests-limit: 10
reviewers:
- "python-team"
assignees:
- "security-team"
labels:
- "dependencies"
- "python"
- "security"
commit-message:
prefix: "deps"
include: "scope"
# Group related updates
groups:
production-dependencies:
patterns:
- "django*"
- "flask*"
- "fastapi*"
- "sqlalchemy*"
development-dependencies:
patterns:
- "pytest*"
- "black"
- "flake8"
- "mypy"

# Docker base images
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
- "docker"
- "infrastructure"
commit-message:
prefix: "docker"

# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
- "github-actions"
commit-message:
prefix: "ci"

# Poetry (if using Poetry)
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
- "poetry"
# Custom configuration for Poetry
versioning-strategy: "lockfile-only"
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM python:3.7-slim

FROM python:3.8.10
# Add requirements file in the container
COPY requirements.txt ./requirements.txt
RUN pip install -r requirements.txt
Expand All @@ -8,4 +7,4 @@ RUN pip install -r requirements.txt
COPY main.py ./main.py

# Define container entry point (could also work with CMD python main.py)
ENTRYPOINT ["python", "main.py"]
ENTRYPOINT ["python", "main.py"]
Empty file added test.py
Empty file.