FROM python:3.6 WORKDIR /usr/src/tethercalc COPY . ./ RUN apt-get update && \ #apt-get install pipenv && \ curl https://cli-assets.heroku.com/install-ubuntu.sh | sh && \ pip install pipenv flask flask_sqlalchemy requests psycopg2-binary && \ pipenv install VOLUME /usr/src/tethercalc/config EXPOSE 5000 ENV APP_ENV=docker ## Change IP if db is localy hosted ENV DATABASE_URL=postgresql://tether:tether@192.168.2.27/tether ## change @psql to corresponding docker name, if db is inside a container #ENV DATABASE_URL=postgresql://tether:tether@psql/tether ENV FFLOGS_API_KEY=4c34520e3f193698ddb7afdb55fbe104 ENTRYPOINT ["pipenv", "run", "heroku", "local", "web"]