add 'custom_css' setting to model; check for 'custom_css' in template; create custom css dir in dockerfile

This commit is contained in:
Steffen Schwebel
2021-06-01 16:15:31 +02:00
parent 567f66fbde
commit c13dd2d835
3 changed files with 6 additions and 1 deletions

View File

@ -94,6 +94,8 @@ RUN apk add --no-cache mariadb-connector-c postgresql-client py3-gunicorn py3-ps
COPY --from=builder /usr/bin/flask /usr/bin/
COPY --from=builder /usr/lib/python3.8/site-packages /usr/lib/python3.8/site-packages/
COPY --from=builder --chown=root:${USER} /app /app/
# Create directory for custom css
RUN mkdir /app/powerdnsadmin/static/custom
COPY ./docker/entrypoint.sh /usr/bin/
WORKDIR /app