mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Use nodejs 16.15.1 everywhere
apt version of nodejs is extremely old
This commit is contained in:
@@ -12,18 +12,16 @@ RUN apt-get update \
|
|||||||
emacs \
|
emacs \
|
||||||
exa \
|
exa \
|
||||||
fd-find \
|
fd-find \
|
||||||
git \
|
git \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
less \
|
less \
|
||||||
libsodium-dev \
|
libsodium-dev \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
man-db \
|
man-db \
|
||||||
manpages \
|
manpages \
|
||||||
net-tools \
|
net-tools \
|
||||||
nodejs \
|
openssh-client \
|
||||||
npm \
|
procps \
|
||||||
openssh-client \
|
|
||||||
procps \
|
|
||||||
sudo \
|
sudo \
|
||||||
tldr \
|
tldr \
|
||||||
unzip \
|
unzip \
|
||||||
@@ -32,9 +30,6 @@ RUN apt-get update \
|
|||||||
&& apt-get clean -y \
|
&& apt-get clean -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN echo $(node --version)
|
|
||||||
RUN echo $(npm --version)
|
|
||||||
|
|
||||||
# Upgrade pip
|
# Upgrade pip
|
||||||
RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
|
|
||||||
@@ -45,8 +40,6 @@ COPY package-lock.json ./
|
|||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY devcontainer-admin/scripts/notify-admin-entrypoint.sh ./
|
COPY devcontainer-admin/scripts/notify-admin-entrypoint.sh ./
|
||||||
|
|
||||||
RUN npm ci --no-audit
|
|
||||||
|
|
||||||
ENV SHELL /bin/zsh
|
ENV SHELL /bin/zsh
|
||||||
|
|
||||||
EXPOSE 6012
|
EXPOSE 6012
|
||||||
|
|||||||
Reference in New Issue
Block a user