Skip to content

Commit

Permalink
Merge pull request #49 from ardimehist-r7/alpine-base
Browse files Browse the repository at this point in the history
alpine base image
  • Loading branch information
ardimehist-r7 authored Feb 7, 2017
2 parents cbd0559 + 742a98c commit 0d842dd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# docker-logentries
#
# VERSION 0.2.0
# VERSION 0.2.1

FROM node:0.12-onbuild
FROM alpine:3.5
MAINTAINER Rapid 7 - Logentries <[email protected]>

RUN echo '@edge http://nl.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories
RUN apk update && apk upgrade
RUN apk add nodejs

WORKDIR /usr/src/app
COPY package.json package.json
RUN npm install --production
COPY index.js /usr/src/app/index.js

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

0 comments on commit 0d842dd

Please sign in to comment.