Skip to content

Commit

Permalink
fix: dockerize
Browse files Browse the repository at this point in the history
  • Loading branch information
Igx22 committed Nov 17, 2024
1 parent c8c4fe2 commit 98bccc4
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 61 deletions.
10 changes: 5 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "simple-import-sort"],
"plugins": ["@typescript-eslint"],
"rules": {
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-imports": "off",
"prefer-const": "off",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"no-var": "error"
"simple-import-sort/imports": "off",
"simple-import-sort/exports": "off",
"no-var": "off"
}
}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ app.log
app.log
.idea
build/
log/
log/
external/
40 changes: 0 additions & 40 deletions eslint.config.cjs.old

This file was deleted.

13 changes: 0 additions & 13 deletions eslint.config.mjs.old

This file was deleted.

26 changes: 26 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
"ts-mocha": "^10.0.0",
"ts-protoc-gen": "^0.15.0",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1"
"typescript-eslint": "^8.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.0.0"
},
"dependencies": {
"@ethersproject/transactions": "^5.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ async function bootstrap() {
const document = SwaggerModule.createDocument(app, config);
SwaggerModule.setup('api', app, document);

await app.listen(EnvLoader.getPropertyAsNumber("ANODE_PORT", 3000));
await app.listen(EnvLoader.getPropertyAsNumber("PORT", 3000));
}
bootstrap();

0 comments on commit 98bccc4

Please sign in to comment.