Browse Source

Test dockerfile

pull/1077/head
Edward Ribeiro 8 years ago
parent
commit
a4d6ba9f33
  1. 7
      Dockerfile

7
Dockerfile

@ -32,9 +32,10 @@ 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 --no-input && \
python3 manage.py collectstatic --no-input && \
rm -rf /var/interlegis/sapl/sapl/.env && \
RUN python3 manage.py bower install && \
python3 manage.py collectstatic --no-input
RUN rm -rf /var/interlegis/sapl/sapl/.env && \
rm -rf /var/interlegis/sapl/sapl.db
RUN chmod +x /var/interlegis/sapl/start.sh && \

Loading…
Cancel
Save