cleanup, refactoring

This commit is contained in:
cubedro
2015-02-13 00:30:12 +02:00
parent a79210c510
commit f201991044
9 changed files with 45 additions and 66 deletions

View File

@@ -1,14 +0,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
# Install app dependencies
RUN cd /src; npm install
EXPOSE 3000
CMD ["node", "/src/bin/www"]