Created
August 15, 2018 16:31
-
-
Save sebastianst/a16695643a7bd39ff08629d1d76c92ff to your computer and use it in GitHub Desktop.
Dockerfile for running the cv-tricks image classifier tensorflow tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dockerfile for running the cv-tricks image classifier tensorflow tutorial from | |
# http://cv-tricks.com/tensorflow-tutorial/training-convolutional-neural-network-for-image-classification/ | |
FROM tensorflow/tensorflow:latest-gpu-py3 | |
# or just tensorflow/tensorflow:latest-py3 for CPU version | |
LABEL maintainer="Sebastian Stammler <base64 -d<<<aWFtQGRlY2VudHIuYWwK>" | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
libsm6 \ | |
libxrender1 \ | |
libxext6 \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN pip --no-cache-dir install opencv-python | |
COPY cv-tricks.com/Tensorflow-tutorials/tutorial-2-image-classifier /app | |
WORKDIR /app | |
CMD python train.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment