-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix Tensorflow installation problem * update npm install command * update nodejs dependencies * revert commit fix bitmex max listeners exceeded warning * update docker-compose script * update README.md * update nodejs dependencies * update nodejs dependencies * update nodejs dependencies * clean up code /modules/pairs/pair_state_execution.js * clean up code /modules/order/order_calculator.js * fix error this.logger.error is not a function * clean up code index.js
- Loading branch information
1 parent
f729634
commit 2ca0749
Showing
11 changed files
with
782 additions
and
756 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
npm-debug.log |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- '9' | ||
- '10' | ||
|
||
install: | ||
- npm install | ||
|
||
script: | ||
- npm test | ||
- npm test |
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 |
---|---|---|
@@ -1,14 +1,24 @@ | ||
FROM node:11 | ||
FROM node:10 | ||
|
||
MAINTAINER Daniel Espendiller <daniel@espendiller.net> | ||
|
||
# Install build-essential, sqlite in order | ||
RUN apt-get update && apt-get install -y \ | ||
sqlite | ||
sqlite \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# clean image | ||
RUN rm -rf /var/lib/apt/lists/* | ||
WORKDIR /usr/src/app | ||
|
||
WORKDIR /src | ||
# Install app dependencies | ||
COPY package.json /usr/src/app/ | ||
RUN npm install --production && \ | ||
npm cache clean --force | ||
|
||
ENTRYPOINT ["node"] | ||
CMD ["index.js", "trade" ] | ||
# Bundle app source | ||
COPY . /usr/src/app | ||
|
||
# Apply all patches in app | ||
RUN npm run postinstall | ||
|
||
EXPOSE 8080 | ||
CMD ["npm", "run", "start"] |
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
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
Oops, something went wrong.