From 8f43e919540d2f73e88ac8e01dbf8e9c0dca50f2 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Tue, 9 May 2017 21:17:59 -0300 Subject: [PATCH] Restaura bower_install --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index be1a2c528..e690045ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ COPY start.sh /var/interlegis/sapl/ COPY config/nginx/sapl.conf /etc/nginx/conf.d COPY config/nginx/nginx.conf /etc/nginx/nginx.conf -RUN pip install -r /var/interlegis/sapl/requirements/requirements.txt --upgrade setuptools && \ +RUN pip install -r /var/interlegis/sapl/requirements/dev-requirements.txt --upgrade setuptools && \ rm -r /root/.cache && \ rm -r /tmp/* @@ -32,11 +32,11 @@ COPY config/env_dockerfile /var/interlegis/sapl/sapl/.env # manage.py bower install bug: https://github.com/nvbn/django-bower/issues/51 -RUN python3 manage.py bower install && \ +RUN python3 manage.py bower_install -- --allow-root --no-input && \ python3 manage.py collectstatic --no-input - + RUN rm -rf /var/interlegis/sapl/sapl/.env && \ - rm -rf /var/interlegis/sapl/sapl.db + rm -rf /var/interlegis/sapl/sapl.db RUN chmod +x /var/interlegis/sapl/start.sh && \ ln -sf /dev/stdout /var/log/nginx/access.log && \