File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
- FROM node:14.17.2 -buster
1
+ FROM node:14.17.6 -buster
2
2
3
3
ENV DEBIAN_VERSION_NAME buster
4
4
@@ -16,8 +16,8 @@ RUN set -xe && \
16
16
apt-get install -y --no-install-recommends postgresql-client-11 && \
17
17
if [ $(dpkg --print-architecture) = "arm64" ];then apt-get install -y --no-install-recommends phantomjs; fi && \
18
18
rm -rf /var/lib/apt/lists/* && \
19
- # upgrade npm to 6.10
20
- npm i -g npm@7.8 .0 && npm cache clean --force && \
19
+ # upgrade npm to 7.22.0
20
+ npm i -g npm@7.22 .0 && npm cache clean --force && \
21
21
# Add user and groupd
22
22
groupadd --gid $GID $USER_NAME && \
23
23
useradd --uid $UID --gid $USER_NAME --no-log-init --create-home $USER_NAME && \
Original file line number Diff line number Diff line change 1
- FROM node:14.17.2 -buster
1
+ FROM node:14.17.6 -buster
2
2
3
3
ENV DEBIAN_VERSION_NAME=buster NODE_ENV=production
4
4
ENV PORTCHECKER_VERSION=v1.1.0
@@ -32,6 +32,8 @@ RUN set -xe && \
32
32
useradd --uid $UID --gid $USER_NAME --no-log-init --create-home $USER_NAME && \
33
33
mkdir /home/$USER_NAME/.npm && \
34
34
echo "prefix=/home/$USER_NAME/.npm/" > /home/$USER_NAME/.npmrc && \
35
+ # upgrade npm to 7.22.0
36
+ npm install -g
[email protected] && npm cache clean --force && \
35
37
# setup app dir
36
38
mkdir -p /home/$USER_NAME/app && \
37
39
# adjust permission
You can’t perform that action at this time.
0 commit comments