forked from moul/docker-readthedocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (21 loc) · 776 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM moul/python-dev
MAINTAINER Manfred Touron <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV APPDIR /app
ENV DJANGO_SETTINGS_MODULE config
RUN apt-get -qqy update
RUN adduser --gecos 'py' --disabled-password py
RUN apt-get -qqy install \
libxml2-dev libxslt1-dev expat libevent-dev wget \
texlive texlive-latex-extra language-pack-en \
unzip python-dev git
RUN mkdir -p $APPDIR && cd $APPDIR && \
wget -q --no-check-certificate https://github.com/rtfd/readthedocs.org/archive/master.zip && \
unzip master.zip >/dev/null 2>/dev/null && rm -f master.zip && \
mv readthedocs.org-master/* readthedocs.org-master/.??* . && \
rmdir readthedocs.org-master
ADD config /
RUN /bin/rtd-install.sh
EXPOSE 8000
ENTRYPOINT ["/bin/rtd-start.sh"]
CMD [""]