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
17 lines
392 B
Docker
17 lines
392 B
Docker
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
|