Removed some crud and fixed logout
4
.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
||||
.git/
|
||||
client/
|
||||
.tmp/
|
||||
npm-debug.log
|
||||
12
Dockerfile
@@ -1 +1,11 @@
|
||||
FROM digitallyseamless/nodejs-bower-grunt-runtime
|
||||
FROM node
|
||||
ENV NODE_ENV production
|
||||
|
||||
RUN mkdir /app
|
||||
WORKDIR /app/dist/
|
||||
|
||||
ADD dist /app/dist/
|
||||
ADD node_modules /app/node_modules/
|
||||
|
||||
ENV NODE_ENV production
|
||||
CMD ["npm", "start"]
|
||||
|
||||
@@ -76,8 +76,6 @@ angular.module('dssWebApp')
|
||||
}
|
||||
|
||||
function logoutUser() {
|
||||
return $q.resolve();
|
||||
/*
|
||||
var defer = $q.defer();
|
||||
$auth.logout()
|
||||
.then(function(){
|
||||
@@ -85,6 +83,5 @@ angular.module('dssWebApp')
|
||||
});
|
||||
|
||||
return defer.promise;
|
||||
*/
|
||||
}
|
||||
});
|
||||
|
||||
|
Before Width: | Height: | Size: 6.3 MiB |
|
Before Width: | Height: | Size: 8.8 MiB |
|
Before Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 8.2 MiB |
|
Before Width: | Height: | Size: 18 MiB |
|
Before Width: | Height: | Size: 5.2 MiB |
|
Before Width: | Height: | Size: 4.5 MiB |
|
Before Width: | Height: | Size: 4.6 MiB |
|
Before Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 4.4 MiB |
|
Before Width: | Height: | Size: 5.2 MiB |
|
Before Width: | Height: | Size: 73 KiB |
|
Before Width: | Height: | Size: 63 KiB |
|
Before Width: | Height: | Size: 101 KiB |