chore: update Dockerfile and requirements for Python 3.13, enhance error handling in config and tracker modules
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
FROM python:3.11-slim
|
||||
FROM python:3.13-slim
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/BlessedRebuS/Krawl
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install gosu for dropping privileges
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends gosu && \
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends gosu && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt /app/
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/ /app/src/
|
||||
COPY wordlists.json /app/
|
||||
|
||||
Reference in New Issue
Block a user