FROM nikhilwoodruff/policyengine-api:latest
ENV GOOGLE_APPLICATION_CREDENTIALS .gac.json
ENV POLICYENGINE_DB_PASSWORD .dbpw
ADD . /app
RUN cd /app && make install && make test
CMD gunicorn -b :$PORT policyengine_api.api