-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
23 lines (18 loc) · 863 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM alejandrocn7/sinergym:latest
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-py310_22.11.1-1-Linux-x86_64.sh \
&& chmod +x ./Miniconda3-py310_22.11.1-1-Linux-x86_64.sh \
&& bash ./Miniconda3-py310_22.11.1-1-Linux-x86_64.sh -b -p /home/miniconda \
&& rm ./Miniconda3-py310_22.11.1-1-Linux-x86_64.sh
WORKDIR /home
RUN git clone https://github.com/Demosthen/ActiveRL.git && ls
WORKDIR /home/ActiveRL
RUN ["/bin/bash", "-c", "ls && source /home/miniconda/bin/activate \
&& conda init \
&& conda env create -f environment.yml --force\
&& conda activate ActiveRL \
&& pip install git+https://github.com/cooper-org/cooper.git\
&& pip install -e gridworld/gym-simplegrid/ --no-deps\
&& pip install moviepy==1.0.3\
&& pip uninstall pygame -y \
&& pip install sinergym[extras]\
&& pip install gym==0.24.1"]