Added Dockerfile + Change storage default to 'file'

This commit is contained in:
Sohel Zerdoumi
2016-06-05 21:49:55 +02:00
parent 0209375865
commit 2d4402b90c
3 changed files with 21 additions and 6 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM centos:centos6
RUN yum install -y epel-release
RUN yum install -y nodejs npm
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
# Bundle app source
COPY . /usr/src/app
EXPOSE 7777
CMD [ "npm", "start" ]