Skip to content

Commit

Permalink
Fix docker build (#95)
Browse files Browse the repository at this point in the history
* - fix docker image version

* - use musedlab/alpine-node

* - add npm run build

* - clean dockerignore
  • Loading branch information
andreychuk authored and kostia-official committed Sep 28, 2016
1 parent 5c43f55 commit a498167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions _build/.dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
.cache/test
.cache/src
.cache/node_modules/babel*
3 changes: 2 additions & 1 deletion _build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mhart/alpine-node:4
FROM musedlab/alpine-node

MAINTAINER Vanya Andreychuk "[email protected]"

Expand All @@ -12,6 +12,7 @@ COPY .cache /var/www/html
COPY run.sh /root/run.sh

RUN npm install \
&& npm run build \
&& npm prune --production

EXPOSE 8080
Expand Down

0 comments on commit a498167

Please sign in to comment.