Fix crash with docker setting read only config val.

This commit is contained in:
Chase Sterling 2016-08-01 11:25:56 -04:00 committed by GitHub
parent 065a8c3327
commit 2a8bf2c511

View file

@ -28,7 +28,6 @@ ENV GEVENT_RESOLVER=ares
ENV REALMS_ENV=docker ENV REALMS_ENV=docker
ENV REALMS_WIKI_PATH=/home/wiki/data/repo ENV REALMS_WIKI_PATH=/home/wiki/data/repo
ENV REALMS_DB_URI='sqlite:////home/wiki/data/wiki.db' ENV REALMS_DB_URI='sqlite:////home/wiki/data/wiki.db'
ENV REALMS_SQLALCHEMY_DATABASE_URI=${REALMS_DB_URI}
RUN mkdir /home/wiki/data && touch /home/wiki/data/.a RUN mkdir /home/wiki/data && touch /home/wiki/data/.a
VOLUME /home/wiki/data VOLUME /home/wiki/data