added notes and dockerfile for pynode

This commit is contained in:
Dobromir Popov
2023-08-16 09:40:44 +00:00
parent b242e17299
commit 2f3615eeef
6 changed files with 124 additions and 2 deletions

20
docker/py+npm.dockerfile Normal file
View File

@ -0,0 +1,20 @@
# dobromirpopov/pynode
FROM python:slim
# System dependencies
RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib/apt/lists/*
# Upgrade pip
RUN pip install --upgrade pip
# Install some basic utilities
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js and npm
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs
RUN node --version
RUN npm --version