X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/882d8795c6ff65c02f2657e596391748d1b6b7f5:/Dockerfile..HEAD:/.vim/bundle/black/static/gitweb.js diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a9e0ea5..0000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM python:3.11-slim AS builder - -RUN mkdir /src -COPY . /src/ -ENV VIRTUAL_ENV=/opt/venv -RUN python -m venv $VIRTUAL_ENV -RUN . /opt/venv/bin/activate && pip install --no-cache-dir --upgrade pip setuptools wheel \ - # Install build tools to compile dependencies that don't have prebuilt wheels - && apt update && apt install -y git build-essential \ - && cd /src \ - && pip install --no-cache-dir .[colorama,d] - -FROM python:3.11-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"]