mirror of
https://github.com/laramies/theHarvester.git
synced 2026-08-17 19:35:40 +02:00
Bumps the all-dependencies group with 1 update: python. Updates `python` from `44dd044` to `cea0e60` --- updated-dependencies: - dependency-name: python dependency-version: 3.14-slim-trixie dependency-type: direct:production dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
26 lines
835 B
Docker
26 lines
835 B
Docker
FROM python:3.14-slim-trixie@sha256:cea0e6040540fb2b965b6e7fb5ffa00871e632eef63719f0ea54bca189ce14a6
|
|
|
|
LABEL maintainer="@jay_townsend1 & @NotoriousRebel1"
|
|
|
|
RUN useradd -m -u 1000 -s /bin/bash theharvester
|
|
|
|
RUN apt-get update && apt-get upgrade -yqq && apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
# Set workdir and copy project files
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
# Create and sync environment using uv
|
|
# Compile bytecode for faster startup and install to system site-packages
|
|
RUN --mount=from=ghcr.io/astral-sh/uv,source=/uv,target=/bin/uv \
|
|
UV_PROJECT_ENVIRONMENT=/usr/local uv sync --locked --no-dev --no-cache --compile-bytecode
|
|
|
|
# Use non-root user
|
|
USER theharvester
|
|
|
|
# Expose port if the service listens on 80
|
|
EXPOSE 80
|
|
|
|
# Run the application as theharvester user
|
|
ENTRYPOINT ["restfulHarvest", "-H", "0.0.0.0", "-p", "80"]
|