docker-pdns/pdns-admin-uwsgi-ngoduykhanh/Dockerfile
2020-01-08 01:07:16 +01:00

16 lines
360 B
Docker

FROM pschiffe/pdns-admin-base:ngoduykhanh
RUN dnf -y --setopt=install_weak_deps=False install \
mariadb \
uwsgi-plugin-python3 \
&& dnf clean all
EXPOSE 9494
COPY docker-entrypoint.sh /
COPY pdns-admin.ini /etc/uwsgi.ini
RUN chown uwsgi: /etc/uwsgi.ini
ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "/usr/sbin/uwsgi", "--ini", "/etc/uwsgi.ini" ]