Skip to content

Commit a83e4e6

Browse files
authored
Merge pull request #226 from rafael-ladislau/4.2.0-sec-fix
Security Fixes
2 parents 511b4bc + 960a0e5 commit a83e4e6

File tree

2 files changed

+81
-80
lines changed

2 files changed

+81
-80
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12.13-alpine
1+
FROM node:12.16.1-alpine
22
# ref: https://hub.docker.com/_/node?tab=tags&name=12
33

44
LABEL maintainer="Jupyter Project <[email protected]>"
@@ -10,7 +10,8 @@ RUN mkdir -p /srv/configurable-http-proxy
1010
COPY . /srv/configurable-http-proxy
1111
WORKDIR /srv/configurable-http-proxy
1212
RUN npm install -g
13-
13+
RUN npm audit fix
14+
RUN npm uninstall -g npm
1415
# Switch from the root user to the nobody user
1516
USER 65534
1617

0 commit comments

Comments
 (0)