19 lines
		
	
	
		
			619 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			619 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
 | |
| 
 | |
| EXPOSE 8080 53
 | |
| 
 | |
| RUN apt-get install pdns-server pdns-backend-sqlite3 && \
 | |
|     mkdir -p /app/pkg/dist && \
 | |
|     curl --proto '=https' --tlsv1.2 -sSfL \https://github.com/james-stevens/powerdns-webui/raw/2d1a8c5a305f0534d49bf2c8be9a329458ae2fd6/htdocs/index.html \
 | |
|         -o /app/pkg/static/index.html
 | |
| 
 | |
| RUN sed -e 's,^logfile=.*$,logfile=/run/supervisord.log,' -i /etc/supervisor/supervisord.conf
 | |
| ADD setup/config/ /etc
 | |
| 
 | |
| COPY start.sh /app/pkg/
 | |
| COPY setup/data /app/pkg/data
 | |
| 
 | |
| WORKDIR /app/data
 | |
| 
 | |
| CMD [ "/app/pkg/start.sh" ]
 |