Skip to content

Instantly share code, notes, and snippets.

@danfairs
Created July 21, 2016 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danfairs/0e68121cd9d5bc91bbbdf7b871fb1ae2 to your computer and use it in GitHub Desktop.
Save danfairs/0e68121cd9d5bc91bbbdf7b871fb1ae2 to your computer and use it in GitHub Desktop.
Simple Dockerfile
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