Created
July 11, 2019 01:41
-
-
Save aagnone3/a4ad90197308e5132b8219b033bb75d6 to your computer and use it in GitHub Desktop.
This file contains 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
# an example Dockerfile | |
# you can specify a base image as a foundation to build on | |
FROM ubuntu:16.04 | |
# make a partition, and specify the working directory | |
VOLUME /opt | |
WORKDIR /opt | |
# install some base system packages | |
RUN apt-get update && apt-get install -y \ | |
python3 \ | |
python3-dev \ | |
python3-pip \ | |
python3-setuptools | |
# install some python packages | |
RUN pip3 install --upgrade pip | |
RUN pip3 install \ | |
scikit-learn==0.21.1 \ | |
pandas==0.19.1 | |
# set the container's entry point, just a bash shell for now. | |
# this can also be a single program to run, i.e. a python script. | |
ENTRYPOINT ["/bin/bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment