node-python image
Some checks failed
docker-node image / build (arm64) (push) Successful in 1m9s
node-python image / build (amd64) (push) Failing after 1m33s
node-python image / build (arm64) (push) Failing after 23s
node-python image / amend-manifest (push) Has been skipped
docker-node image / build (amd64) (push) Successful in 2m55s
docker-node image / amend-manifest (push) Successful in 14s

This commit is contained in:
thuanle
2025-08-15 10:07:24 +07:00
parent 0f2cfe6a54
commit dc43aacaa8
4 changed files with 99 additions and 16 deletions

16
node-python.Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:22-slim
ENV DEBIAN_FRONTEND=noninteractive
# Cài git + Python 3.11 (Debian stable)
RUN set -eux; \
apt-get update; \
apt-get install -y --no-install-recommends \
git \
python3 python3-pip python3-venv python3-distutils; \
rm -rf /var/lib/apt/lists/*
# (tuỳ chọn) nâng pip lên mới nhất
RUN python3 -m pip install --upgrade pip
WORKDIR /app