docker-node/Dockerfile
2026-03-13 10:25:57 +05:00

28 строки
602 Б
Docker

FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# среда
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
git \
&& rm -rf /var/lib/apt/lists/*
# nodejs
RUN apt-get update && apt-get install -y --no-install-recommends \
nodejs \
&& rm -rf /var/lib/apt/lists/*
# docker
ENV DOCKER_BUILDKIT=1
RUN apt-get update && apt-get install -y --no-install-recommends \
docker-cli \
&& rm -rf /var/lib/apt/lists/*
# check
RUN git --version && \
docker --version && \
node --version
ENV DEBIAN_FRONTEND=
ENTRYPOINT ["/bin/bash"]