-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
34 lines (26 loc) · 1.52 KB
/
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
29
30
31
32
33
34
FROM quay.io/jupyter/minimal-notebook:latest
# Clone the repository from github
RUN git clone https://gitlab.com/ShuxiangCao/software.git /home/jovyan/packages/QubiC/software
RUN git clone https://gitlab.com/ShuxiangCao/distributed_processor.git /home/jovyan/packages/QubiC/distributed_processor
RUN git clone https://gitlab.com/LBL-QubiC/experiments/qubitconfig.git /home/jovyan/packages/QubiC/qubitconfig
RUN git clone https://gitlab.com/LBL-QubiC/experiments/tutorial.git /home/jovyan/packages/QubiC/tutorial
RUN git clone https://gitlab.com/LBL-QubiC/experiments/chipcalibration.git /home/jovyan/packages/QubiC/chipcalibration
RUN git clone https://github.com/ShuxiangCao/LabChronicle.git /home/jovyan/packages/LabChronicle
# Copy the content of the local src directory to the packagesing directory
COPY . /home/jovyan/packages/LeeQ
COPY ./notebooks/* /home/jovyan/notebook_examples
# Install the requirements
RUN pip install ipdb ipywidgets
# Install the QubiC package
RUN pip install -e /home/jovyan/packages/QubiC/software
RUN pip install -e /home/jovyan/packages/QubiC/distributed_processor/python
RUN pip install -e /home/jovyan/packages/QubiC/qubitconfig
#RUN pip install -e /home/jovyan/packages/QubiC/chipcalibration
# Install the LabChronicle package
RUN pip install -e /home/jovyan/packages/LabChronicle
# Install the requirements
RUN pip install -r /home/jovyan/packages/LeeQ/requirements.txt
# Install the package
RUN pip install -e /home/jovyan/packages/LeeQ
# Run pytest to test the package
RUN pytest /home/jovyan/packages/LeeQ