mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
Add yarn support
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
This commit is contained in:
parent
17fb6b0ddd
commit
396075efda
2
.gitignore
vendored
2
.gitignore
vendored
@ -34,3 +34,5 @@ tmp/*
|
|||||||
.ropeproject
|
.ropeproject
|
||||||
.sonarlint/*
|
.sonarlint/*
|
||||||
pdns.db
|
pdns.db
|
||||||
|
|
||||||
|
node_modules
|
||||||
|
@ -6,7 +6,14 @@ ENV ENVIRONMENT=${ENVIRONMENT}
|
|||||||
WORKDIR /powerdns-admin
|
WORKDIR /powerdns-admin
|
||||||
|
|
||||||
RUN apt-get update -y
|
RUN apt-get update -y
|
||||||
RUN apt-get install -y python3-pip python3-dev supervisor
|
RUN apt-get install -y python3-pip python3-dev supervisor curl
|
||||||
|
|
||||||
|
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||||
|
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
|
||||||
|
|
||||||
|
# Install yarn
|
||||||
|
RUN apt-get update -y
|
||||||
|
RUN apt-get install -y yarn
|
||||||
|
|
||||||
# lib for building mysql db driver
|
# lib for building mysql db driver
|
||||||
RUN apt-get install -y libmysqlclient-dev
|
RUN apt-get install -y libmysqlclient-dev
|
||||||
@ -19,6 +26,7 @@ RUN apt-get install -y libxml2-dev libxslt1-dev libxmlsec1-dev libffi-dev pkg-co
|
|||||||
|
|
||||||
COPY ./requirements.txt /powerdns-admin/requirements.txt
|
COPY ./requirements.txt /powerdns-admin/requirements.txt
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
|
RUN yarn
|
||||||
|
|
||||||
ADD ./supervisord.conf /etc/supervisord.conf
|
ADD ./supervisord.conf /etc/supervisord.conf
|
||||||
ADD . /powerdns-admin/
|
ADD . /powerdns-admin/
|
||||||
|
9
package.json
Normal file
9
package.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"dependencies": {
|
||||||
|
"admin-lte": "2.4.3",
|
||||||
|
"icheck": "^1.0.2",
|
||||||
|
"jquery-slimscroll": "^1.3.8",
|
||||||
|
"jquery-ui-dist": "^1.12.1",
|
||||||
|
"multiselect": "^0.9.12"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user