Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
feat: Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Jan 10, 2019
1 parent b295fcd commit d77e5a0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*
!src
!README.md
!package.json
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM node:10
RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 && chmod +x /usr/local/bin/dumb-init
WORKDIR /app
COPY . .
RUN npm i --production
ENTRYPOINT ["/usr/local/bin/dumb-init", "node", "src/server/bin.js"]

0 comments on commit d77e5a0

Please sign in to comment.