-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add Dockerfile for js build image - Wire up dockerized-ui build to the makefile. - Removed unused dev tools from package.json/gulp
- Loading branch information
Showing
6 changed files
with
58 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ coverage.html | |
|
||
# Project specific | ||
scope.tar | ||
scope_ui_build.tar | ||
app/app | ||
probe/probe | ||
docker/app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM node:latest | ||
|
||
WORKDIR /home/weave | ||
|
||
# build tool | ||
RUN npm install -g gulp | ||
|
||
# install app and build dependencies | ||
ADD package.json /home/weave/ | ||
RUN npm install | ||
|
||
# run container via | ||
# | ||
# `docker run -v $GOPATH/src/github.com/weaveworks/scope/client:/app weaveworks/scope-build` | ||
# | ||
# after the container is run, bundled app should be in ./dist/ dir | ||
CMD cd client; ln -s ../node_modules; gulp build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters