Skip to content

Commit

Permalink
docker: switch to node-alpine variant for smaller builds
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed Apr 14, 2018
1 parent 7caa576 commit 7d4aa59
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:7.9.0
FROM node:9-alpine
MAINTAINER "Stefan Walther"

ARG PORT=9696
Expand All @@ -9,12 +9,10 @@ ENV HOME /home
RUN mkdir -p $HOME
WORKDIR $HOME

COPY package.json ./
COPY . /home

RUN npm install

COPY . .

EXPOSE $PORT

CMD ["npm", "run", "start"]

0 comments on commit 7d4aa59

Please sign in to comment.