Last active
February 25, 2016 13:23
-
-
Save fadur/aa61b443813a9b1e00dc to your computer and use it in GitHub Desktop.
simple container
This file contains hidden or 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
web: | |
build: . | |
command: python hello.py | |
#volumes: | |
# - .:/code | |
ports: | |
- "8000:8000" |
This file contains hidden or 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: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 |
This file contains hidden or 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
print 'hello world' |
This file contains hidden or 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
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