fix: dockerfile install order; add .dockerignore; update .gitignore
This commit is contained in:
@@ -0,0 +1,49 @@
|
|||||||
|
# Version control
|
||||||
|
.git/
|
||||||
|
.gitignore
|
||||||
|
|
||||||
|
# Docs and planning
|
||||||
|
docs/
|
||||||
|
README*
|
||||||
|
*.md
|
||||||
|
|
||||||
|
# Tests
|
||||||
|
tests/
|
||||||
|
|
||||||
|
# Dev tooling
|
||||||
|
.venv/
|
||||||
|
venv/
|
||||||
|
env/
|
||||||
|
.pytest_cache/
|
||||||
|
.coverage
|
||||||
|
htmlcov/
|
||||||
|
|
||||||
|
# Secrets / local config (mounted at runtime via volume)
|
||||||
|
.env
|
||||||
|
*.env.local
|
||||||
|
config.yaml
|
||||||
|
|
||||||
|
# Runtime data (mounted at runtime via volume)
|
||||||
|
playbook_cache/
|
||||||
|
|
||||||
|
# Plugins (mounted at runtime via volume)
|
||||||
|
plugins/
|
||||||
|
|
||||||
|
# Deployment files not needed in image
|
||||||
|
docker-compose.yml
|
||||||
|
systemd/
|
||||||
|
|
||||||
|
# Editor / OS
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Python artifacts
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*.egg-info/
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
+5
-7
@@ -12,15 +12,19 @@ dist/
|
|||||||
build/
|
build/
|
||||||
*.egg
|
*.egg
|
||||||
.eggs/
|
.eggs/
|
||||||
|
.pytest_cache/
|
||||||
|
.coverage
|
||||||
|
htmlcov/
|
||||||
|
|
||||||
# Virtual environments
|
# Virtual environments
|
||||||
.venv/
|
.venv/
|
||||||
venv/
|
venv/
|
||||||
env/
|
env/
|
||||||
|
|
||||||
# Environment / secrets
|
# Secrets / local config (use config.example.yaml as template)
|
||||||
.env
|
.env
|
||||||
*.env.local
|
*.env.local
|
||||||
|
config.yaml
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
*.db
|
*.db
|
||||||
@@ -40,11 +44,5 @@ Thumbs.db
|
|||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
|
|
||||||
# Alembic (generated, not secrets — keep migrations in VCS but exclude caches)
|
|
||||||
# (nothing to exclude here by default)
|
|
||||||
|
|
||||||
# Docker
|
|
||||||
.dockerignore
|
|
||||||
|
|
||||||
# Playbook cache (runtime data)
|
# Playbook cache (runtime data)
|
||||||
playbook_cache/
|
playbook_cache/
|
||||||
|
|||||||
+2
-2
@@ -3,9 +3,9 @@ FROM python:3.11-slim
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY pyproject.toml .
|
COPY pyproject.toml .
|
||||||
RUN pip install --no-cache-dir -e .
|
|
||||||
|
|
||||||
COPY fablednetmon/ fablednetmon/
|
COPY fablednetmon/ fablednetmon/
|
||||||
|
RUN pip install --no-cache-dir .
|
||||||
|
|
||||||
COPY alembic.ini .
|
COPY alembic.ini .
|
||||||
|
|
||||||
# Runtime directories
|
# Runtime directories
|
||||||
|
|||||||
Reference in New Issue
Block a user