15 lines
324 B
Docker
15 lines
324 B
Docker
# dobromirpopov/pynode
|
|
FROM python:slim
|
|
|
|
# System dependencies and Node.js/npm installation
|
|
RUN apt-get update \
|
|
&& apt-get install -y git curl nodejs npm \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Upgrade pip
|
|
RUN pip install --upgrade pip
|
|
|
|
# Verify installations
|
|
RUN node --version && npm --version
|