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
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM node:4.3.1
FROM node:6
LABEL maintainer="Laura Santamaria <laura.santamaria@rackspace.com>"

ENV NPM_CONFIG_LOGLEVEL=warn

RUN useradd node
RUN useradd nodeusr
RUN npm install -g nodemon

RUN mkdir -p /home/node /usr/src/app && chown -R node:node /home/node
Expand All @@ -14,5 +15,5 @@ COPY . /usr/src/app

EXPOSE 8080

USER node
USER nodeusr
CMD [ "npm", "start" ]
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@
"start": "node app.js"
},
"author": "Ken Perkins <ken.perkins@rackspace.com>",
"repository": {
"type": "git",
"url": "git://github.com/deconst/content-service.git"
},
"license": "MIT",
"dependencies": {
"async": "2.0.0-rc.2",
"cheerio": "^0.19.0",
"elasticsearch": "^9.0.2",
"json-stable-stringify": "^1.0.1",
"lodash": "^3.8.0",
"mongodb": "2.0.27",
"pkgcloud": "1.1.0",
"mongodb": "^2.0.27",
"pkgcloud": "^1.1.0",
"raw-body": "2.1.6",
"request": "^2.69.0",
"restify": "4.0.0",
Expand Down