Skip to content

Instantly share code, notes, and snippets.

@junqueira
Created February 24, 2017 15:45
Show Gist options
  • Save junqueira/260f8f3784fde6b6698cde8cc35d5d18 to your computer and use it in GitHub Desktop.
Save junqueira/260f8f3784fde6b6698cde8cc35d5d18 to your computer and use it in GitHub Desktop.
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