Created
July 21, 2016 10:00
-
-
Save danfairs/0e68121cd9d5bc91bbbdf7b871fb1ae2 to your computer and use it in GitHub Desktop.
Simple Dockerfile
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
FROM ubuntu:16.04 | |
MAINTAINER Dan Fairs <dan.fairs@gmail.com> | |
RUN apt-get update && apt-get install -y python3-pip | |
RUN mkdir /app | |
COPY main.py /app | |
COPY requirements.txt /app | |
RUN pip3 install --upgrade pip | |
RUN pip3 install -r /app/requirements.txt | |
EXPOSE 8888 | |
CMD python3 /app/main.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment