Skip to content

Commit

Permalink
Generate a docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
acroca committed Feb 19, 2018
1 parent f5aee66 commit f686f66
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.git/
dist/
chrome-extension/
json_relay_node/
json_relay_php/
node_modules/
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:9.5-alpine as builder
WORKDIR /etherwallet
ADD . /etherwallet
RUN apk add --update git python make g++ libnotify
RUN npm install -g gulp-cli
RUN npm install
RUN npm run dist


FROM nginx
COPY --from=builder /etherwallet/dist /usr/share/nginx/html

0 comments on commit f686f66

Please sign in to comment.