Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>

#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
Expand Down
Binary file added oc.exe
Binary file not shown.