Skip to content

Commit

Permalink
update for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
chralp committed Jan 27, 2019
1 parent ba819a7 commit 08c7ff7
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
31 changes: 30 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
node_modules
.git
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz

pids
logs
results

node_modules/
npm-debug.log
public
.DS_Store
.#*
\#*
bower_components
doc

tmp
data/*
conf-prod.json
conf-staging.json
conf-localhost.json

.filedb
.env
2 changes: 1 addition & 1 deletion app/heyburrito.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import getUserStats from './lib/handleStats';
import SlackInterface from './types/Slack.interface'
import ConfigInterface from './types/Config.interface'

function heyburrito(config: ConfigInterface.doc) {
function heyburrito(config) {

// Configure BurritoStore
BurritoStore.setDatabase(database);
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"start": "ts-node ./app/server.ts",
"test": "mocha -r ts-node/register test/* || true",
"lint": "tslint -t stylish -c tslint.json lib/*.ts types/*.ts test/*.ts",
"lintFix": "tslint -t stylish -c tslint.json lib/*.ts types/*.ts test/*.ts --fix"
"lintFix": "tslint -t stylish -c tslint.json lib/*.ts types/*.ts test/*.ts --fix",
"docker-build": "docker build -t chralp/heyburrito . && docker tag chralp/heyburrito chralp/heyburrito",
"docker-push": "docker push chralp/heyburrito"
},
"dependencies": {
"@slack/client": "^4.3.1",
Expand Down

0 comments on commit 08c7ff7

Please sign in to comment.