Skip to content

Commit

Permalink
Drastically reduced the size of the final image by using alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
bodom0015 committed Oct 26, 2017
1 parent 409fa45 commit d3ad2e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
@@ -1,9 +1,11 @@
FROM node:boron
FROM node:boron-alpine

RUN apk add --update git

# Install dependencies
WORKDIR /data
COPY package.json /data
RUN npm install
RUN npm install && npm cache clean

# Build from source
COPY . /data
Expand Down

0 comments on commit d3ad2e8

Please sign in to comment.