-
Notifications
You must be signed in to change notification settings - Fork 0
/
evaluate.Dockerfile
29 lines (18 loc) · 1006 Bytes
/
evaluate.Dockerfile
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
# Loading pyenv using gist from https://gist.github.com/jprjr/7667947?permalink_comment_id=3629856#gistcomment-3629856
FROM debian:buster-slim
RUN apt-get update
RUN apt-get install -y --no-install-recommends make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
RUN apt-get install -y mecab-ipadic-utf8
ENV HOME="/root"
WORKDIR $HOME
RUN apt-get install -y git
RUN git clone --depth=1 https://github.com/pyenv/pyenv.git .pyenv
ENV PYENV_ROOT="$HOME/.pyenv"
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
RUN pyenv install 3.8.6
RUN pyenv global 3.8.6
COPY requirements.txt /root/requirements.txt
RUN pip3 install -r requirements.txt
ADD . /root
RUN pip3 install --editable pybullet_multigoal_gym && pip3 install --editable pybullet_multigoal_implementation && pip3 install --editable .
ENTRYPOINT ["python", "/root/seer/train_and_eval_configs/config_runner.py"]