Skip to content

Commit c5e8a83

Browse files
committed
Update to Node.js v16.16.0, use shared zlib for prod
1 parent ff88a65 commit c5e8a83

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.15.0
1+
v16.16.0

docker/backend/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.15.0-buster-slim AS builder
1+
FROM node:16.16.0-buster-slim AS builder
22

33
ARG commitHash
44
ENV DOCKER_COMMIT_HASH=${commitHash}
@@ -11,7 +11,7 @@ RUN apt-get install -y build-essential python3 pkg-config
1111
RUN npm install --omit=dev --omit=optional
1212
RUN npm run build
1313

14-
FROM node:16.15.0-buster-slim
14+
FROM node:16.16.0-buster-slim
1515

1616
WORKDIR /backend
1717

docker/frontend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16.15.0-buster-slim AS builder
1+
FROM node:16.16.0-buster-slim AS builder
22

33
ARG commitHash
44
ENV DOCKER_COMMIT_HASH=${commitHash}

production/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ pkg install -y zsh sudo git screen curl wget neovim rsync nginx openssl openssh-
8282

8383
### Node.js + npm
8484

85-
Build Node.js v16.15 and npm v8 from source using `nvm`:
85+
Build Node.js v16.16.0 and npm v8 from source using `nvm`:
8686
```
8787
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh
8888
source $HOME/.zshrc
89-
nvm install v16.15.0
89+
nvm install v16.16.0 --shared-zlib
9090
nvm alias default node
9191
```
9292

production/install

+1-1
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ echo "[*] Installing nvm.sh from GitHub"
905905
osSudo "${MEMPOOL_USER}" sh -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | zsh'
906906

907907
echo "[*] Building NodeJS via nvm.sh"
908-
osSudo "${MEMPOOL_USER}" zsh -c 'source ~/.zshrc ; nvm install v16.15.0'
908+
osSudo "${MEMPOOL_USER}" zsh -c 'source ~/.zshrc ; nvm install v16.16.0 --shared-zlib'
909909

910910
####################
911911
# Tor installation #

0 commit comments

Comments
 (0)