Add webassets support

Also updates AdminLTE to latest stable version.

Signed-off-by: Felix Kaechele <felix@kaechele.ca>
This commit is contained in:
Felix Kaechele
2018-06-10 15:16:28 +02:00
parent 396075efda
commit 1bf869f508
10 changed files with 112 additions and 93 deletions

View File

@ -26,7 +26,6 @@ RUN apt-get install -y libxml2-dev libxslt1-dev libxmlsec1-dev libffi-dev pkg-co
COPY ./requirements.txt /powerdns-admin/requirements.txt
RUN pip3 install -r requirements.txt
RUN yarn
ADD ./supervisord.conf /etc/supervisord.conf
ADD . /powerdns-admin/

View File

@ -1,3 +1,11 @@
#!/bin/sh
cd /powerdns-admin && ./create_db.py
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
cd /powerdns-admin
./create_db.py
yarn install --pure-lockfile
FLASK_APP=app/__init__.py flask assets build
/usr/bin/supervisord -c /etc/supervisord.conf