Skip to content

Commit

Permalink
Merge pull request #226 from rafael-ladislau/4.2.0-sec-fix
Browse files Browse the repository at this point in the history
Security Fixes
  • Loading branch information
consideRatio authored Mar 11, 2020
2 parents 511b4bc + 960a0e5 commit a83e4e6
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 80 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.13-alpine
FROM node:12.16.1-alpine
# ref: https://hub.docker.com/_/node?tab=tags&name=12

LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
Expand All @@ -10,7 +10,8 @@ RUN mkdir -p /srv/configurable-http-proxy
COPY . /srv/configurable-http-proxy
WORKDIR /srv/configurable-http-proxy
RUN npm install -g

RUN npm audit fix
RUN npm uninstall -g npm
# Switch from the root user to the nobody user
USER 65534

Expand Down
Loading

0 comments on commit a83e4e6

Please sign in to comment.