Create a temporary SQLite database for anitya staging

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
This commit is contained in:
Jeremy Cline 2017-12-05 15:49:40 -05:00
parent 44d9cc9db3
commit 23da6e942b

View file

@ -41,7 +41,8 @@ items:
ENV USER=anitya ENV USER=anitya
EXPOSE 8080 EXPOSE 8080
EXPOSE 9940 EXPOSE 9940
ENTRYPOINT python3-gunicorn --bind 0.0.0.0:8080 --access-logfile=- anitya.wsgi:application ENTRYPOINT python3 -c "from anitya.config import config; from anitya.lib import utilities; utilities.init('sqlite:////var/tmp/anitya-dev.sqlite', None, debug=True, create=True)" \
&& python3-gunicorn --bind 0.0.0.0:8080 --access-logfile=- anitya.wsgi:application
type: Dockerfile type: Dockerfile
strategy: strategy:
type: Docker type: Docker