mirror of
https://github.com/bspeice/neuralnets-docker
synced 2024-12-04 12:48:09 -05:00
Add initial image
This commit is contained in:
parent
7132dc943c
commit
cbb5d04383
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
FROM nvidia/cuda:8.0-cudnn5-devel-ubuntu16.04
|
||||||
|
MAINTAINER Bradlee Speice
|
||||||
|
|
||||||
|
LABEL Description="Jupyter server setup for ECBM E4040 Neural Networks" Version="0.1"
|
||||||
|
|
||||||
|
# Start with the updates
|
||||||
|
RUN apt-get update && \
|
||||||
|
|
||||||
|
# Don't install broken Pip
|
||||||
|
apt-get install -y python-pip=8.1.1-2 python3-pip=8.1.1-2 python-pip-whl=8.1.1-2 && \
|
||||||
|
|
||||||
|
# Install the Scipy stuff we need
|
||||||
|
apt-get install -y \
|
||||||
|
python-pandas python-matplotlib \
|
||||||
|
texlive-latex-extra texlive-fonts-recommended texlive-generic-recommended pandoc
|
||||||
|
|
||||||
|
# And the python-specific tools
|
||||||
|
RUN pip install theano jupyter
|
||||||
|
|
||||||
|
# And the startup script
|
||||||
|
COPY . /
|
||||||
|
|
||||||
|
# Set up Theano for the GPU
|
||||||
|
ENV THEANO_FLAGS='floatX=float32,device=gpu'
|
||||||
|
|
||||||
|
EXPOSE 8888
|
4
usr/local/bin/start_jupyter
Executable file
4
usr/local/bin/start_jupyter
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd /opt/development
|
||||||
|
/usr/local/bin/jupyter notebook --ip 0.0.0.0
|
Loading…
Reference in New Issue
Block a user