Skip to content

Commit

Permalink
#3: Use prebuilt Docker image for shorter start time
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Sep 9, 2019
1 parent b5cb346 commit 963d5d0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM node:alpine
FROM marcnuri/node-10-docker-alpine

MAINTAINER Marc Nuri <marc@marcnuri.com>
LABEL MAINTAINER="Marc Nuri <marc@marcnuri.com>"

COPY . .

RUN apk add docker \
&& npm install --production
RUN npm install --production

ENTRYPOINT ["node", "/src/index.js"]

0 comments on commit 963d5d0

Please sign in to comment.