GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — python-black/Dockerfile at main · pullfrog/python-black Expand file tree/ Copy pathDockerfileMore file actions 22 lines (18 loc) · 753 Bytes / Copy pathDockerfileFile metadata and controls22 lines (18 loc) · 753 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 FROM python:3.12-slim AS builder RUN mkdir /src COPY . /src/ ENV VIRTUAL_ENV=/opt/venv ENV HATCH_BUILD_HOOKS_ENABLE=1 # Install build tools to compile black + dependencies RUN apt update && apt install -y build-essential git python3-dev RUN python -m venv $VIRTUAL_ENV RUN python -m pip install --no-cache-dir hatch==1.15.1 hatch-fancy-pypi-readme hatch-vcs RUN . /opt/venv/bin/activate && pip install --no-cache-dir --upgrade pip setuptools \ && cd /src && hatch build -t wheel \ && pip install --no-cache-dir dist/*-cp* \ && pip install black[colorama,d,uvloop] FROM python:3.12-slim # copy only Python packages to limit the image size COPY --from=builder /opt/venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" CMD ["/opt/venv/bin/black"] |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |