Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐳 Init dockerfile #61

Merged
merged 3 commits into from Oct 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions Dockerfile
@@ -0,0 +1,13 @@
FROM node:10-alpine

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

lhauspie marked this conversation as resolved.
Show resolved Hide resolved
# build gitmoji-changelog from source
COPY . /usr/src/gitmoji-changelog
WORKDIR /usr/src/gitmoji-changelog
RUN yarn
lhauspie marked this conversation as resolved.
Show resolved Hide resolved

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