-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dividing Dockerfiles and updating README
- Loading branch information
1 parent
0013bf3
commit 06207cf
Showing
5 changed files
with
42 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "muprl - CPU", | ||
"build": { | ||
"dockerfile": "../../Dockerfile" | ||
} | ||
"dockerfile": "../../Dockerfile_CPU" | ||
}, | ||
"runArgs": ["--rm"] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "muprl - GPU", | ||
"build": { | ||
"dockerfile": "../../Dockerfile" | ||
"dockerfile": "../../Dockerfile_GPU" | ||
}, | ||
"runArgs": ["--gpus", "all"] | ||
"runArgs": ["--rm", "--gpus", "all"] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM python:3.8-slim | ||
|
||
RUN apt update \ | ||
&& apt upgrade -y \ | ||
&& apt install -y freeglut3-dev | ||
|
||
# # Install Python packages | ||
COPY requirements.txt /tmp/requirements.txt | ||
COPY requirements_torch_cpu.txt /tmp/requirements_torch_cpu.txt | ||
|
||
RUN echo "Installing requirements" \ | ||
&& pip install setuptools==65.5.0 "wheel<0.40.0" \ | ||
&& pip install -r /tmp/requirements_torch_cpu.txt \ | ||
&& pip install -r /tmp/requirements.txt \ | ||
&& pip install gym==0.25.0 | ||
|
||
RUN rm /tmp/requirements.txt \ | ||
&& rm /tmp/requirements_torch_cpu.txt | ||
|
||
ENTRYPOINT [ "/bin/bash" ] | ||
|
File renamed without changes.
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