File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # from ubuntu:20.04
21FROM cschranz/gpu-jupyter
32
4- # RUN apt-get update && apt-get install -y \
5- # git \
6- # python3 \
7- # python3-setuptools \
8- # python3-pip
9-
10- # RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl
11- # RUN apt-get install unzip
12- # RUN apt-get -y install python3
13- # RUN apt-get -y install python3-pip
14-
153RUN pip3 install algorithmia&& \
164 pip3 install algorithmia-api-client
17- # && \
18- # pip3 install nbformat&& \
19- # pip3 install nbconvert[execute]
205
21- COPY src /usr/src/src
22- # COPY entrypoint.sh /entrypoint.sh
23- COPY entrypoint.sh /usr/src/entrypoint.sh
6+ # COPY src /usr/algorithmia_ci/src
7+ # COPY entrypoint.sh /usr/algorithmia_ci/entrypoint.sh
8+ # USER root
9+ # RUN chmod +x /usr/algorithmia_ci/entrypoint.sh
10+ # ENTRYPOINT ["/usr/algorithmia_ci/entrypoint.sh"]
11+ COPY src /src
12+ COPY entrypoint.sh /entrypoint.sh
2413USER root
25- RUN chmod +x /usr/src/ entrypoint.sh
26- ENTRYPOINT ["/usr/src/ entrypoint.sh" ]
14+ RUN chmod +x entrypoint.sh
15+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change 2525 echo " Could not locate the algorithm directory to copy the contents."
2626fi
2727
28- python /usr/src/src/action_main.py
28+ # python /usr/src/src/action_main.py
29+ python /src/action_main.py
2930
3031echo " Switching to the algorithm repo directory to push changes to the Algorithm repo."
3132cd $CI_ALGO_DIR
You can’t perform that action at this time.
0 commit comments