diff --git a/Dockerfile b/Dockerfile index 722e372..c14b5a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,8 +11,14 @@ RUN apt-get update && \ apt-get install --yes \ git curl wget build-essential python3-dev python3-pip -# Set up NodeJS 20 repository -RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - +# Set up Node.js 21 repository +RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - + +# Install Node.js and dependencies +RUN apt-get install --yes nodejs haproxy libwayland-client0 + +# Install a compatible npm version +RUN npm install --location=global npm@10 # Install common dependencies used in projects RUN apt-get install --yes \ diff --git a/README.md b/README.md index 74ae89f..4474f4b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This project is a docker image for developing Node.js and Python web projects. I - Based on ubuntu:focal - Python 3.10 -- Node 20 LTS +- Node 21 LTS - Yarn - dotrun-docker diff --git a/src/setup.py b/src/setup.py index de84ded..009448b 100755 --- a/src/setup.py +++ b/src/setup.py @@ -12,7 +12,7 @@ setup( name="dotrun-docker", - version="1.1.0", + version="1.2.0", packages=["dotrun_docker"], install_requires=[ "ipdb",