Skip to content

Instantly share code, notes, and snippets.

@fadur
Last active February 25, 2016 13:23
Show Gist options
  • Save fadur/aa61b443813a9b1e00dc to your computer and use it in GitHub Desktop.
Save fadur/aa61b443813a9b1e00dc to your computer and use it in GitHub Desktop.
simple container
web:
build: .
command: python hello.py
#volumes:
# - .:/code
ports:
- "8000:8000"
FROM ubuntu:14.04
MAINTAINER Feisal Adur <[email protected]>
RUN apt-get update && apt-get install -y build-essential
RUN apt-get install -y python2.7 \
python-dev \
wget \
python-distribute \
xvfb \
firefox \
libpq-dev \
libffi-dev
RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python get-pip.py
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
ADD requirements.txt requirements.txt
RUN pip install -r requirements.txt
ADD . /code
WORKDIR /code
print 'hello world'
boto3==1.2.3
botocore==1.3.26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment