Skip to content
Snippets Groups Projects
Commit e9148dd6 authored by Simon van Hemert's avatar Simon van Hemert
Browse files

dockerfile

parent e8a6c59d
No related branches found
No related tags found
No related merge requests found
......@@ -9,17 +9,17 @@ FROM renku/renkulab-py:3.7-renku0.10.4-0.6.3
# e.g. the following installs apt-utils and vim; each pkg on its own line, all lines
# except for the last end with backslash '\' to continue the RUN line
# USER root
# RUN apt-get update && \
# apt-get install -y --no-install-recommends \
# apt-utils \
# firefox
# # cd /home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest
# # wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
# # tar -xvzf geckodriver*
# # chmod +x geckodriver
# # export PATH=$PATH:/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtests/.
# USER ${NB_USER}
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
apt-utils \
firefox
cd /home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest \
wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz \
tar -xvzf geckodriver* \
chmod +x geckodriver \
export PATH=$PATH:/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtests/.
USER ${NB_USER}
# install the python dependencies
COPY requirements.txt environment.yml /tmp/
......@@ -30,5 +30,5 @@ RUN conda env update -q -f /tmp/environment.yml && \
# add chromedriver and geckodriver to PATH
# ENV PATH="/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest/geckodriver:${PATH}"
# ENV PATH "$PATH:/notebooks/Block_5/Seleniumtest/geckodriver"
ENV PATH="/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest/geckodriver:${PATH}"
ENV PATH "$PATH:/notebooks/Block_5/Seleniumtest/geckodriver"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment