Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Fixed docker build (#349)
Browse files Browse the repository at this point in the history
* Fixed docker build

* Added --paper according to github comments
  • Loading branch information
Froelund authored and DeviaVir committed Jul 28, 2017
1 parent 52e7b92 commit 3ebc07a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM node:latest

ADD . /app
RUN mkdir -p /app
WORKDIR /app

COPY package.json /app/
RUN npm install

COPY . /app

CMD [ "./zenbot.sh", "trade", "--paper" ]
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
server:
build: .
volumes:
- .:/app
- /app/node_modules
- ./conf.js:/app/conf.js
links:
- mongodb
command: ./zenbot.sh trade --paper
Expand Down

0 comments on commit 3ebc07a

Please sign in to comment.