docker-pdns/pdns-admin-static-ngoduykhanh/Dockerfile
Peter Schiffer 0a615b25ca
Allow configuration of uwsgi host and port in static image
via env vars `PDNS_ADMIN_STATIC_UWSGI_HOST` and `PDNS_ADMIN_STATIC_UWSGI_PORT`

Fixes #27
2023-12-19 20:50:59 +01:00

13 lines
264 B
Docker

FROM pschiffe/pdns-admin-base
RUN dnf -y --setopt=install_weak_deps=False install \
nginx \
&& dnf clean all
COPY pdns-nginx.conf.tpl docker-entrypoint.sh /
EXPOSE 80
ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "/usr/sbin/nginx", "-g", "daemon off;" ]