Created
February 24, 2017 15:45
-
-
Save junqueira/260f8f3784fde6b6698cde8cc35d5d18 to your computer and use it in GitHub Desktop.
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 python:2.7 | |
RUN mkdir -p /opt/app | |
WORKDIR /opt/app | |
RUN apt-get update && apt-get install awscli libmemcached-dev -y | |
RUN mkdir -p /opt/app/static | |
#RUN aws s3 sync s3://rootair.cdn/development/static/whitelabel /opt/app/static/whitelabel | |
RUN chmod -R a+rx /opt/app/static | |
ADD . /opt/app | |
ADD requirements.txt /opt/app/requirements.txt | |
RUN pip install -r /opt/app/requirements.txt | |
# CMD ["python", "manage.py", "runserver", "0.0.0.0:8082"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment