email-assistant/indexer/Dockerfile

13 lines
220 B
Docker
Raw Permalink Normal View History

2018-02-03 08:06:55 +00:00
FROM python:3.6-onbuild
RUN mkdir -p /config
VOLUME /config
ENV SQLALCHEMY_DATABASE_URI sqlite:////config/tokens.db
2018-02-03 08:06:55 +00:00
ENV FLASK_DEBUG=1
EXPOSE 5000
# TODO: Track debug in env and use threads
CMD python -m indexer.main