Browse Source

Fix bug in bower install

pull/1067/head 3.1.1-BETA
Edward Ribeiro 8 years ago
parent
commit
1a400d9ca7
  1. 4
      Dockerfile
  2. 2
      requirements/requirements.txt

4
Dockerfile

@ -30,7 +30,9 @@ RUN pip install -r /var/interlegis/sapl/requirements/requirements.txt --upgrade
COPY config/env_dockerfile /var/interlegis/sapl/sapl/.env
RUN python3 manage.py bower install -- --allow-root && \
# manage.py bower install bug: https://github.com/nvbn/django-bower/issues/51
RUN python3 manage.py bower_install -- --allow-root --no-input && \
python3 manage.py collectstatic --no-input && \
rm -rf /var/interlegis/sapl/sapl/.env && \
rm -rf /var/interlegis/sapl/sapl.db

2
requirements/requirements.txt

@ -15,7 +15,7 @@ django-extra-views==0.8.0
django-filter==0.15.3
django-floppyforms==1.6.2
django-model-utils==2.5
django-sass-processor==0.4.6
django-sass-processor==0.5.3
djangorestframework
drfdocs
easy-thumbnails==2.3

Loading…
Cancel
Save