[go: up one dir, main page]

Menu

[83163e]: / Dockerfile  Maximize  Restore  History

Download this file

30 lines (22 with data), 650 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM python:3
# Update Software repository
RUN apt-get update
RUN apt install git -y
# Set up dev environment
WORKDIR /bot
RUN git clone https://github.com/Drakkar-Software/OctoBot /bot/octobot
WORKDIR /bot/octobot
RUN git checkout dev
# install dependencies
RUN bash ./docs/install/linux_installer.sh
# configuration
RUN cp ./config/default_config.json ./config/config.json
RUN cp ./config/default_evaluator_config.json ./config/evaluator_config.json
# python libs
RUN pip3 install -U setuptools
RUN pip3 install -r requirements.txt
# install evaluators
RUN python start.py -p install all
# entry point
ENTRYPOINT ["python"]
CMD ["start.py"]