Last active
September 18, 2017 05:58
-
-
Save micronull/82a0dd7055ea9b261b29c33de828f03a to your computer and use it in GitHub Desktop.
gbot-trader-docker
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
# version 1.0 | |
# for https://github.com/steeply/gbot-trader | |
FROM node:8-alpine | |
MAINTAINER Stepan Ipatyev <[email protected]> | |
RUN apk update && apk upgrade && \ | |
apk add --no-cache bash git openssh && \ | |
cd $HOME && \ | |
git clone https://github.com/steeply/gbot-trader.git && \ | |
cd gbot-trader && \ | |
npm i && \ | |
printf "#!/bin/bash\nset -o allexport\nsource options.txt\nnode $HOME/gbot-trader/build/server" > $HOME/run.sh && \ | |
chmod u+x $HOME/run.sh | |
ADD ./options.txt /root/options.txt | |
CMD $HOME/run.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment