Skip to content

Commit 8c53239

Browse files
committed
Reverted back to GPU setup
1 parent d2e6c9a commit 8c53239

2 files changed

Lines changed: 11 additions & 21 deletions

File tree

Dockerfile

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
1-
#from ubuntu:20.04
21
FROM 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-
153
RUN 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
2413
USER 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"]

entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ else
2525
echo "Could not locate the algorithm directory to copy the contents."
2626
fi
2727

28-
python /usr/src/src/action_main.py
28+
#python /usr/src/src/action_main.py
29+
python /src/action_main.py
2930

3031
echo "Switching to the algorithm repo directory to push changes to the Algorithm repo."
3132
cd $CI_ALGO_DIR

0 commit comments

Comments
 (0)