v3, heavy refactor needed

This commit is contained in:
2026-05-23 23:24:56 +03:00
parent 859f26de7b
commit 8fe04e77a2
22 changed files with 847 additions and 296 deletions
+15
View File
@@ -0,0 +1,15 @@
ARG PYTHON_IMAGE
FROM ${PYTHON_IMAGE}
RUN pip install --no-cache-dir docker
ARG DOCKER_VERSION
RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates \
&& curl -fsSL "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz" \
| tar xz -C /usr/local/bin --strip-components=1 docker/docker \
&& apt-get purge -y curl ca-certificates && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
COPY src/dnc /opt/dnc/lib/dnc
ENV PYTHONPATH=/opt/dnc/lib:$PYTHONPATH
ENTRYPOINT ["python3", "-m", "dnc"]