Skip to content

Commit

Permalink
Merge pull request moby#1671 from kim0/patch-3
Browse files Browse the repository at this point in the history
Don't force a non-existent npm version, use latest from epel
metaliveblog committed Aug 26, 2013
2 parents b866254 + 843ef64 commit f7fa6c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sources/examples/nodejs_web_app.rst
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ To install the right package for CentOS, we’ll use the instructions from the
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm-1.2.17-5.el6
RUN yum install -y npm
To bundle your app’s source code inside the docker image, use the ``ADD``
command:
@@ -137,7 +137,7 @@ Your ``Dockerfile`` should now look like this:
# Enable EPEL for Node.js
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
# Install Node.js and npm
RUN yum install -y npm-1.2.17-5.el6
RUN yum install -y npm
# Bundle app source
ADD . /src

0 comments on commit f7fa6c2

Please sign in to comment.