docker-pdns/pdns-admin-uwsgi-ngoduykhanh/Dockerfile

17 lines
360 B
Docker
Raw Normal View History

2018-11-21 01:31:02 +01:00
FROM pschiffe/pdns-admin-base:ngoduykhanh
RUN dnf -y --setopt=install_weak_deps=False install \
mariadb \
uwsgi-plugin-python3 \
&& dnf clean all
EXPOSE 9494
2018-11-22 19:45:43 +01:00
COPY docker-entrypoint.sh /
COPY pdns-admin.ini /etc/uwsgi.ini
RUN chown uwsgi: /etc/uwsgi.ini
2018-11-22 19:45:43 +01:00
ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "/usr/sbin/uwsgi", "--ini", "/etc/uwsgi.ini" ]