Skip to content

Commit

Permalink
🐳 Init dockerfile (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
lhauspie authored and frinyvonnick committed Oct 31, 2018
1 parent 979da30 commit afa7021
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:10-alpine

# install dependencies
RUN apk add --no-cache git
ENV NODE_ENV=production

# build gitmoji-changelog from source
COPY . /usr/src/gitmoji-changelog
WORKDIR /usr/src/gitmoji-changelog
RUN yarn

# run gitmoji-changelog on /usr/src/app
ENTRYPOINT ["/usr/src/gitmoji-changelog/node_modules/.bin/gitmoji-changelog"]

0 comments on commit afa7021

Please sign in to comment.