Skip to content

Commit

Permalink
Use alpine for Docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Jun 20, 2016
1 parent 57d031c commit cbc8a38
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git
node_modules
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# docker-loghose
#
# VERSION 0.1.0
# VERSION 0.2.0

FROM node:0.10-onbuild
FROM mhart/alpine-node:4
MAINTAINER Matteo Collina <hello@matteocollina.com>

WORKDIR /src
ADD . .

RUN npm install --production

CMD ["npm", "start"]

0 comments on commit cbc8a38

Please sign in to comment.