Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the docker requirements to make the thing do the stuff #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
__pycache__
poetry.lock
resources/images/Colour_Wheel.exr
.venv
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
FROM python:3.7

RUN curl -sL https://deb.nodesource.com/setup_13.x | bash - \
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs

WORKDIR /tmp
COPY ./requirements.txt /tmp
RUN python -m pip install --upgrade pip
RUN pip install -r requirements.txt \
&& rm /tmp/requirements.txt \
&& python -c "import imageio;imageio.plugins.freeimage.download()" \
&& jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib
&& jupyter labextension install @jupyter-widgets/jupyterlab-manager jupyter-matplotlib@0.7.3

RUN mkdir -p /home/colour-science/gamut-mapping-ramblings
WORKDIR /home/colour-science/gamut-mapping-ramblings
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ backcall==0.1.0
bleach==3.1.5
certifi==2020.4.5.1
chardet==3.0.4
colour-science==0.3.16
cycler==0.10.0
decorator==4.4.2
defusedxml==0.6.0
Expand All @@ -12,7 +13,7 @@ idna==2.9
imageio==2.8.0
importlib-metadata==1.6.0
ipykernel==5.2.1
ipympl==0.5.6
ipympl==0.5.7
ipynb==0.5.1
ipython==7.9.0
ipython-genutils==0.2.0
Expand All @@ -29,7 +30,7 @@ jupyterlab==2.1.2
jupyterlab-server==1.1.3
kiwisolver==1.1.0
MarkupSafe==1.1.1
matplotlib==3.0.3
matplotlib==3.2
mistune==0.8.4
nbconvert==5.6.1
nbformat==5.0.6
Expand Down Expand Up @@ -64,4 +65,3 @@ wcwidth==0.1.9
webencodings==0.5.1
widgetsnbextension==3.5.1
zipp==1.2.0
-e git+https://github.com/colour-science/colour.git@3bebd7e903cbcbee959f56786c020335a1b06cf7#egg=colour