sherlock-project-sherlock
SUCCESS
3m 15s
History Source
SummaryIterations1Transcript3Dockerfile
Dockerfile28 lines · 584 chars
# Build Sherlock from source and run
FROM python:3.12-slim-bullseye

# Install system dependencies
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
      build-essential \
      libffi-dev \
      libxml2-dev \
      libxslt1-dev \
      ca-certificates \
      git \
      curl \
      && rm -rf /var/lib/apt/lists/*

WORKDIR /sherlock

# Copy source code
COPY . .

# Upgrade pip and install the package from source
RUN python -m pip install --no-cache-dir --upgrade pip && \
    pip install --no-cache-dir .

ENV SHERLOCK_ENV=docker

ENTRYPOINT ["sherlock"]