Browse Source

use alpine packages for py-matplotlib

Mike Birdgeneau 8 years ago
parent
commit
944c10154a
2 changed files with 1 additions and 5 deletions
  1. 1 1
      jupyterlab/Dockerfile
  2. 0 4
      jupyterlab/requirements.txt

+ 1 - 1
jupyterlab/Dockerfile

@@ -15,7 +15,7 @@ RUN pip install jupyterlab && jupyter serverextension enable --py jupyterlab
 
 # Install Python Packages & Requirements (Done near end to avoid invalidating cache)
 ADD requirements.txt requirements.txt
-RUN apk add --update freetype-dev && apk add --update libpng musl-dev gcc pkgconfig zeromq-dev libc-dev libx11-dev
+RUN apk add --update py-matplotlib py-numpy py-pika
 RUN pip install -r requirements.txt
 
 # Expose Jupyter port & cmd

+ 0 - 4
jupyterlab/requirements.txt

@@ -1,7 +1,3 @@
-numpy
-matplotlib
 netCDF4
-jupyter
-pika
 folium
 pandas