mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
18 lines
530 B
Docker
18 lines
530 B
Docker
|
FROM ubuntu:latest
|
||
|
MAINTAINER Khanh Ngo "ngokhanhit@gmail.com"
|
||
|
ARG ENVIRONMENT=development
|
||
|
ENV ENVIRONMENT=${ENVIRONMENT}
|
||
|
|
||
|
WORKDIR /powerdns-admin
|
||
|
|
||
|
RUN apt-get update -y
|
||
|
RUN apt-get install -y python3-pip python3-dev libmysqlclient-dev supervisor
|
||
|
RUN apt-get install -y libsasl2-dev libldap2-dev libssl-dev
|
||
|
|
||
|
COPY ./requirements.txt /powerdns-admin/requirements.txt
|
||
|
RUN pip3 install -r requirements.txt
|
||
|
|
||
|
ADD ./supervisord.conf /etc/supervisord.conf
|
||
|
ADD . /powerdns-admin/
|
||
|
COPY ./configs/${ENVIRONMENT}.py /powerdns-admin/config.py
|