Skip to content

Commit

Permalink
Fix NPM 5 build dependency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaricChan committed Apr 10, 2018
1 parent 0de9a6d commit 222694f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Copyright 2016, EMC, Inc.
ARG repo=nodesource
ARG tag=8.10.0
ARG repo=node
ARG tag=8.11.1

FROM ${repo}:${tag}

COPY . /RackHD/on-core/

RUN cd /RackHD/on-core \
&& npm install \
&& npm prune --production \
&& npm install --production

VOLUME /opt/monorail

0 comments on commit 222694f

Please sign in to comment.