Navigation Menu

Skip to content

Commit

Permalink
Re-add daemon group
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie McConnell committed Mar 22, 2015
1 parent e32686a commit 0edfcc0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Dockerfile
Expand Up @@ -2,19 +2,17 @@ FROM gliderlabs/alpine

RUN apk --update add nodejs

RUN mkdir -p /app
RUN adduser -h /app -S -D -G daemon -g logentries logentries

COPY package.json /app/
USER logentries

WORKDIR /app

RUN npm install --production

RUN adduser -H -S -D -G daemon logentries
COPY package.json ./

USER logentries
RUN npm install --production

COPY index.js /app/
COPY leapi.js /app/
COPY index.js ./
COPY leapi.js ./

ENTRYPOINT ["/usr/bin/node", "/app/index.js"]

0 comments on commit 0edfcc0

Please sign in to comment.