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

Commit cd164f4

Browse files
committed
Update Dockerfile
- Update base image to 8.6-alpine - Quiet npm install output - Gather advisories after npm install
1 parent beb8442 commit cd164f4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
FROM node:7.10-alpine
1+
FROM node:8.6-alpine
22

33
WORKDIR /usr/src/app
44

55
COPY package.json ./
66

7-
RUN apk --update add curl && \
8-
npm install -g npm && \
9-
npm install && \
10-
/usr/src/app/bin/nsp gather
7+
RUN npm install --global --quiet npm && \
8+
npm install --quiet
119

1210
RUN adduser -u 9000 -D app
1311
COPY . ./
1412
RUN chown -R app:app ./
1513

1614
USER app
1715

16+
RUN ./bin/nsp gather
17+
1818
VOLUME /code
1919
WORKDIR /code
2020

0 commit comments

Comments
 (0)