Dockerfile 669 Bytes
Newer Older
EKbfh's avatar
EKbfh committed
1
2
3
FROM debian:11-slim

ARG BUILD_PACKAGES="build-essential cmake gcc libffi-dev libmemcached-dev libssl-dev zlib1g-dev libpq-dev python3-dev"
4
5

RUN set -ex \
EKbfh's avatar
EKbfh committed
6
7
8
9
10
    && apt update && apt-get install -y --no-install-recommends \
    $BUILD_PACKAGES \
    libxml2 \
    python3 \
    python3-pip \
EKbfh's avatar
EKbfh committed
11
12
13
14
15
16
    && pip3 install \
    lxml==4.6.2 \
    mkdocs-material==7.3.3 \
    mkdocs-macros-plugin==0.6.0 \
    mkdocs-mermaid2-plugin==0.5.2 \
    mkdocstrings==0.16.2 \
EKbfh's avatar
EKbfh committed
17
18
19
20
    cachetools \
    atomicl \
    orjson \
    http_parser \
EKbfh's avatar
EKbfh committed
21
    Django \
EKbfh's avatar
EKbfh committed
22
23
24
    && apt remove --purge -y $BUILD_PACKAGES \
    && apt autoremove -y \
    && rm -rf /var/lib/apt/lists/* \
25
26
27

WORKDIR /docs
VOLUME /docs