From 843ef645d2c76275e484e3fd5262b947d5611d59 Mon Sep 17 00:00:00 2001 From: kim0 Date: Mon, 26 Aug 2013 12:54:15 +0300 Subject: [PATCH] Don't force a non-existent npm version, use latest from epel Not the smartest thing to do --- docs/sources/examples/nodejs_web_app.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/examples/nodejs_web_app.rst b/docs/sources/examples/nodejs_web_app.rst index cb580c43d9..67584d1794 100644 --- a/docs/sources/examples/nodejs_web_app.rst +++ b/docs/sources/examples/nodejs_web_app.rst @@ -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