diff --git a/docker/py+npm.dockerfile b/docker/py+npm.dockerfile index 2bb3f6e..ae8d818 100644 --- a/docker/py+npm.dockerfile +++ b/docker/py+npm.dockerfile @@ -1,20 +1,14 @@ # 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/* +# 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 -# 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 \ No newline at end of file +# Verify installations +RUN node --version && npm --version