comixify/dockerfile

23 lines
819 B
Text
Raw Normal View History

2018-08-20 23:00:22 +00:00
FROM nvidia/cuda:9.0-cudnn7-runtime
RUN apt-get update && apt-get install -y apt-utils software-properties-common && \
add-apt-repository ppa:jonathonf/python-3.6 && \
2018-08-26 20:35:31 +00:00
apt-get update && apt-get -y install python3 python3-pip python3.6 python3.6-dev python3.6-venv vim ffmpeg \
2018-08-20 23:00:22 +00:00
build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev \
libavformat-dev libswscale-dev && \
python3.6 -m pip install --upgrade pip && \
python3.6 -m pip install jupyter ipywidgets jupyterlab && \
python3.6 -m pip install tensorflow-gpu h5py keras && \
python3.6 -m pip install scikit-image opencv-contrib-python
2018-07-31 19:51:39 +00:00
RUN mkdir /comixify
WORKDIR /comixify
COPY . /comixify
2018-08-20 23:00:22 +00:00
RUN python3.6 -m pip install -r requirements.txt
2018-07-31 19:51:39 +00:00
# Port to expose
2018-08-26 20:35:31 +00:00
EXPOSE 8008
2018-07-31 19:51:39 +00:00
ENTRYPOINT ["sh", "entrypoint.sh"]
2018-08-20 23:00:22 +00:00
CMD ['start']