mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 02:33:12 -04:00
Use nodejs 16.15.1 everywhere
apt version of nodejs is extremely old
This commit is contained in:
@@ -20,8 +20,6 @@ RUN apt-get update \
|
|||||||
man-db \
|
man-db \
|
||||||
manpages \
|
manpages \
|
||||||
net-tools \
|
net-tools \
|
||||||
nodejs \
|
|
||||||
npm \
|
|
||||||
openssh-client \
|
openssh-client \
|
||||||
procps \
|
procps \
|
||||||
sudo \
|
sudo \
|
||||||
@@ -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