Skip to content

Commit

Permalink
Update docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Cardoso committed Mar 9, 2016
1 parent cc3cefd commit 4201bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
4 changes: 1 addition & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CHANGELOG.md
coverage
.git
dist
node_modules
npm-debug.log
22 changes: 2 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
FROM mhart/alpine-node:0.10
FROM seegno/node:5

RUN adduser -S node

WORKDIR /home/node/app

COPY package.json /home/node/app/

RUN npm install --ignore-scripts

COPY . /home/node/app/

RUN chown -R node /home/node

USER node

RUN npm run transpile

ENTRYPOINT ["node"]

CMD ["--version"]
ENTRYPOINT ["node_modules/.bin/babel-node"]

0 comments on commit 4201bc9

Please sign in to comment.