mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-02 07:27:35 -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 \
|
||||
exa \
|
||||
fd-find \
|
||||
git \
|
||||
git \
|
||||
iproute2 \
|
||||
less \
|
||||
less \
|
||||
libsodium-dev \
|
||||
lsb-release \
|
||||
lsb-release \
|
||||
man-db \
|
||||
manpages \
|
||||
net-tools \
|
||||
nodejs \
|
||||
npm \
|
||||
openssh-client \
|
||||
procps \
|
||||
openssh-client \
|
||||
procps \
|
||||
sudo \
|
||||
tldr \
|
||||
unzip \
|
||||
@@ -32,9 +30,6 @@ RUN apt-get update \
|
||||
&& apt-get clean -y \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN echo $(node --version)
|
||||
RUN echo $(npm --version)
|
||||
|
||||
# Upgrade pip
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
@@ -45,8 +40,6 @@ COPY package-lock.json ./
|
||||
COPY package.json ./
|
||||
COPY devcontainer-admin/scripts/notify-admin-entrypoint.sh ./
|
||||
|
||||
RUN npm ci --no-audit
|
||||
|
||||
ENV SHELL /bin/zsh
|
||||
|
||||
EXPOSE 6012
|
||||
|
||||
Reference in New Issue
Block a user