Skip to content

Commit

Permalink
Fixed linting err & updated dev dockerBuild.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebond committed Jun 19, 2015
1 parent beb6f8b commit c896b5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/routes/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default Ember.Route.extend({
portsValid = true,
envKeys = configEdit.get('env'),
envKeysValid = true,
volume = configEdit.get('volume'),
volumeKeys = configEdit.get('volume'),
volumeKeysValid = true;

if(ports) {
Expand All @@ -47,7 +47,7 @@ export default Ember.Route.extend({
envKeysValid = validateEnvKeys(envKeys);
}

if(volume) {
if(volumeKeys) {
volumeKeysValid = validateVolumeKeys(volumeKeys);
}

Expand Down
3 changes: 2 additions & 1 deletion bin/dockerBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ember build --environment production
cp docker/Dockerfile dist
cp bin/run.sh dist
cp 200.jade dist
cp -R public/assets dist
cd dist
docker build -t lukebond/paz-web .
docker build -t quay.io/yldio/paz-web .
cd ..

0 comments on commit c896b5b

Please sign in to comment.