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

Dockerfile

parent 0d9989b1
No related branches found
No related tags found
No related merge requests found
......@@ -13,30 +13,16 @@ USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
apt-utils \
firefox-geckodriver
# Display server xvfb needed for Selinas
xvfb \
# Geckodriver needed for Selinas
firefox-geckodriver \
USER ${NB_USER}
# RUN cd /home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtest
# RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.24.0/geckodriver-v0.24.0-linux64.tar.gz
# RUN tar -xvzf geckodriver*
# RUN chmod +x geckodriver
# RUN export PATH=$PATH:/home/work/hslu-deep-learning/notebooks/Block_5/Seleniumtests/.
# RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.23.0/geckodriver-v0.23.0-linux64.tar.gz
# RUN sh -c 'tar -x geckodriver -zf geckodriver-v0.23.0-linux64.tar.gz -O > /usr/bin/geckodriver'
# RUN chmod +x /usr/bin/geckodriver \
# RUN rm geckodriver-v0.23.0-linux64.tar.gz
# install the python dependencies
COPY requirements.txt environment.yml /tmp/
RUN conda env update -q -f /tmp/environment.yml && \
/opt/conda/bin/pip install -r /tmp/requirements.txt && \
conda clean -y --all && \
conda env export -n "root"
# 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"
conda env export -n "root"
\ No newline at end of file
This diff is collapsed.
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