mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 12:06:06 +00:00
Add webassets support
Also updates AdminLTE to latest stable version. Signed-off-by: Felix Kaechele <felix@kaechele.ca>
This commit is contained in:
@ -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/
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user