Skip to content

Instantly share code, notes, and snippets.

@caike
Created September 28, 2014 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caike/a9c01d39d751f7ac84d0 to your computer and use it in GitHub Desktop.
Save caike/a9c01d39d751f7ac84d0 to your computer and use it in GitHub Desktop.
dockerfile
# DOCKER-VERSION 1.2.0
FROM centos:centos6
# 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
# Bundle app source
#COPY . /src
#RUN cat ./src/package.json
#RUN cd /src; npm install
#
RUN ls $CWD
#EXPOSE 8080
#CMD ["node", "/src/app.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment