34 lines
761 B
Docker
34 lines
761 B
Docker
FROM python:3.12.12-slim-bookworm
|
|
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
PIP_NO_CACHE_DIR=1 \
|
|
PIP_DISABLE_PIP_VERSION_CHECK=1
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
ca-certificates \
|
|
fontconfig \
|
|
fonts-dejavu-core \
|
|
fonts-liberation \
|
|
fonts-noto-core \
|
|
poppler-utils \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /workspace
|
|
|
|
COPY requirements.txt ./
|
|
RUN python -m pip install --upgrade pip \
|
|
&& python -m pip install -r requirements.txt \
|
|
&& python -m playwright install --with-deps
|
|
|
|
COPY pyproject.toml README.md STATUS.md AGENTS.md ./
|
|
COPY src ./src
|
|
COPY spec ./spec
|
|
COPY app ./app
|
|
COPY scripts ./scripts
|
|
COPY docs ./docs
|
|
COPY fixtures ./fixtures
|
|
|
|
RUN python -m pip install -e .
|
|
|
|
ENTRYPOINT ["iftypeset"]
|