Add libnss3 to nodejs (#183)
* Add libnss3 to nodejs * Lock down some npm version --------- Co-authored-by: Quinten <josdekurk@gmail.com>
This commit is contained in:
@@ -3,10 +3,10 @@ FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim
|
||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||
|
||||
RUN apt update \
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \
|
||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 \
|
||||
&& useradd -m -d /home/container container
|
||||
|
||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
||||
RUN npm install npm@9.8.1 typescript ts-node @types/node --location=global
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
|
Reference in New Issue
Block a user