-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0987cd3
commit eeba989
Showing
3 changed files
with
96 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM nvidia/cuda:11.0.3-runtime-ubuntu20.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update -y && \ | ||
apt install -y python3 python3-pip git htop vim | ||
|
||
# Make sure you first recursively clone down the git repo before building | ||
WORKDIR /app | ||
RUN pip install quimb pyrofiler cartesian-explorer opt_einsum | ||
RUN pip install --no-binary pynauty pynauty | ||
# Run the below commands after the container opens - because volume hasn't mounted yet | ||
# RUN cd qtree && pip install . | ||
# RUN pip install . | ||
RUN pip install pdbpp | ||
RUN pip install tensornetwork | ||
|
||
ENTRYPOINT ["bash"] |
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,4 @@ | ||
#!/bin/bash | ||
|
||
docker build -f Dockerfile.dev -t dev . | ||
docker run -v $(pwd):/app -it dev |
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