diff --git a/Dockerfile b/Dockerfile index 30e2b94..a37b64c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,16 @@ -FROM node:0.10 -ADD . /opt/app-root/src -RUN chmod -R 755 /opt/app-root/src -WORKDIR /opt/app-root/src +FROM centos:centos6 +MAINTAINER Chakradhar Rao Jonagam <9chakri@gmail.com> + +#RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm + +RUN curl --silent --location https://rpm.nodesource.com/setup_0.10 | bash - +RUN yum install -y gcc-c++ make git && yum clean all +RUN yum -y install nodejs + +ADD ./package.json /opt/app-root/ +WORKDIR /opt/app-root RUN npm install +ADD . /opt/app-root/ ADD oc /usr/local/bin/ EXPOSE 8080 diff --git a/oc.exe b/oc.exe new file mode 100755 index 0000000..a8d808f Binary files /dev/null and b/oc.exe differ