Skip to content

Commit ddf5157

Browse files
committed
Experimenting with pip / pip3
1 parent fbe0652 commit ddf5157

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

Dockerfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
FROM cschranz/gpu-jupyter
22

3-
RUN pip3 install algorithmia&& \
4-
pip3 install algorithmia-api-client
3+
RUN pip install algorithmia&& \
4+
pip install algorithmia-api-client
55

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"]
116
COPY src /src
127
COPY entrypoint.sh /entrypoint.sh
13-
#USER root
8+
USER root
149
RUN chmod +x /entrypoint.sh
1510
ENTRYPOINT ["/entrypoint.sh"]

entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Install the dependencies of this repo to be able to run the notebook
4-
pip3 install -r requirements.txt
4+
pip install -r requirements.txt
55

66
# Clone the Algorithmia algorithm repository
77
CI_ALGO_DIR=$INPUT_ALGORITHMIA_ALGONAME"_CI"
@@ -25,7 +25,6 @@ else
2525
echo "Could not locate the algorithm directory to copy the contents."
2626
fi
2727

28-
#python /usr/src/src/action_main.py
2928
python /src/action_main.py
3029

3130
echo "Switching to the algorithm repo directory to push changes to the Algorithm repo."

0 commit comments

Comments
 (0)