add docker image for onedns

master
Justin Riley 2016-10-17 15:41:40 -04:00
parent 198fa9f770
commit 16d697f18d
1 changed files with 18 additions and 0 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM python:2.7.12-slim
MAINTAINER Harvard Unviersity Faculty of Arts and Sciences Research Computing
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt
RUN pip install --no-cache-dir /usr/src/app/
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
EXPOSE 53
ENTRYPOINT ["/usr/local/bin/onedns"]
CMD ["daemon"]