-
Notifications
You must be signed in to change notification settings - Fork 732
/
Dockerfile
34 lines (26 loc) · 695 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM continuumio/miniconda3
RUN apt-get update && apt-get install -y \
pkg-config \
libfreetype6-dev \
build-essential \
libc-dev \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN conda update conda; conda update --all
RUN conda install libgcc
COPY requirements.txt /
RUN pip install -r /requirements.txt
RUN pip install -U numpy tensorflow
COPY jupyter_notebook_config.py /root/.jupyter/
# Jupyter has issues with being run directly:
# https://github.com/ipython/ipython/issues/7062
# We just add a little wrapper script.
COPY run_jupyter.sh /
# tensorboard
EXPOSE 6006
# jupyter
EXPOSE 8888
EXPOSE 8889
WORKDIR "/notebooks"
CMD ["/bin/bash"]