adding pip and requirements to docker install and exposing data/krawl.db via docker-compose.yaml

This commit is contained in:
Phillip Tarrant
2025-12-28 14:24:52 -06:00
parent a4baedffd9
commit 66b4d8fe6a
2 changed files with 5 additions and 0 deletions

View File

@@ -4,6 +4,10 @@ LABEL org.opencontainers.image.source=https://github.com/BlessedRebuS/Krawl
WORKDIR /app
# Install Python dependencies
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY src/ /app/src/
COPY wordlists.json /app/

View File

@@ -10,6 +10,7 @@ services:
- "5000:5000"
volumes:
- ./wordlists.json:/app/wordlists.json:ro
- ./data:/app/data
environment:
- PORT=5000
- DELAY=100