Browse Source

Restaura bower_install

pull/1077/head
Edward Ribeiro 8 years ago
parent
commit
8f43e91954
  1. 4
      Dockerfile

4
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,7 +32,7 @@ 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 && \

Loading…
Cancel
Save