mirror of
https://github.com/Horizontal42/netsleuth.git
synced 2026-11-11 01:02:10 +03:00
27 lines
601 B
Docker
27 lines
601 B
Docker
FROM mcr.microsoft.com/devcontainers/python:1-3.12
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
|
&& apt-get -y install --no-install-recommends \
|
|
net-tools \
|
|
iputils-ping \
|
|
traceroute \
|
|
dnsutils \
|
|
curl \
|
|
git \
|
|
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install uv for fast dependency management
|
|
RUN pip install --upgrade pip uv
|
|
|
|
# Set working directory
|
|
WORKDIR /workspace
|
|
|
|
# Copy project files
|
|
COPY . .
|
|
|
|
# Install dependencies
|
|
RUN uv pip install -e .[dev]
|
|
|
|
# Default command
|
|
CMD ["bash"]
|