Skip to content

Instantly share code, notes, and snippets.

@amacneil
Created April 28, 2016 23:01
Show Gist options
  • Save amacneil/89bc99c96a3c9fd7fb618bd8f0190289 to your computer and use it in GitHub Desktop.
Save amacneil/89bc99c96a3c9fd7fb618bd8f0190289 to your computer and use it in GitHub Desktop.
FROM python:3.4.2
ENV PYTHONUNBUFFERED 1
# Create app directory
RUN mkdir /app
WORKDIR /app
# Install requirements
COPY requirements.txt /app/
RUN pip install --upgrade pip \
&& pip install -r requirements.txt --src /usr/local/src
# Copy remaining source files
COPY . /app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment