Created
September 4, 2018 14:14
-
-
Save myoung34/fc5d554ca2e9c3e7bf53a48a5ab14826 to your computer and use it in GitHub Desktop.
cloudmapper
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 python:alpine AS cloudmapper | |
| EXPOSE 8000 | |
| WORKDIR /cloudmapper | |
| ENV ACCOUNT=$AWS_ACCOUNT | |
| ENV AWS_DEFAULT_REGION=$AWS_DEFAULT_REGION | |
| ENV AWS_REGION=$AWS_REGION | |
| RUN apk --no-cache --virtual build-dependencies add \ | |
| freetype-dev \ | |
| libpng-utils \ | |
| libpng-dev \ | |
| py-numpy \ | |
| autoconf \ | |
| automake \ | |
| libtool \ | |
| python-dev \ | |
| jq \ | |
| g++ \ | |
| make | |
| COPY . /cloudmapper | |
| RUN touch config.json && \ | |
| pip install -r requirements.txt | |
| CMD python cloudmapper.py gather --account-name $ACCOUNT && \ | |
| python cloudmapper.py prepare --account-name $ACCOUNT &&\ | |
| python cloudmapper.py serve --public |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment