
FROM centos:centos6
RUN curl -sL https://rpm.nodesource.com/setup_12.x | bash -
RUN yum install -y nodejs  #
# Define working directory.
COPY . /src
WORKDIR /src
RUN npm install

EXPOSE 3000 8020
# Define default command.
CMD ["node", "server.js"]
