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

Commit 3ebc07a

Browse files
FroelundDeviaVir
authored andcommitted
Fixed docker build (#349)
* Fixed docker build * Added --paper according to github comments
1 parent 52e7b92 commit 3ebc07a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
FROM node:latest
22

3-
ADD . /app
3+
RUN mkdir -p /app
44
WORKDIR /app
55

6+
COPY package.json /app/
67
RUN npm install
8+
9+
COPY . /app
10+
11+
CMD [ "./zenbot.sh", "trade", "--paper" ]

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
server:
22
build: .
33
volumes:
4-
- .:/app
5-
- /app/node_modules
4+
- ./conf.js:/app/conf.js
65
links:
76
- mongodb
87
command: ./zenbot.sh trade --paper

0 commit comments

Comments
 (0)