Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Commit

Permalink
Merge branch '3.0.0' of github.com:nodesecurity/nsp into 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nlf committed Oct 11, 2017
2 parents 09b93ac + 2c75542 commit a1ef4b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
@@ -1,20 +1,20 @@
FROM node:7.10-alpine
FROM node:8.6-alpine

WORKDIR /usr/src/app

COPY package.json ./

RUN apk --update add curl && \
npm install -g npm && \
npm install && \
/usr/src/app/bin/nsp gather
RUN npm install --global --quiet npm && \
npm install --quiet

RUN adduser -u 9000 -D app
COPY . ./
RUN chown -R app:app ./

USER app

RUN ./bin/nsp gather

VOLUME /code
WORKDIR /code

Expand Down

0 comments on commit a1ef4b2

Please sign in to comment.