Skip to content

Commit

Permalink
chore: bump node from 20 to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
abbiesims committed Jan 8, 2025
1 parent 5964a9b commit 69eebf5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 69eebf5

Please # to comment.