diff --git a/Dockerfile b/Dockerfile index 2dcced5..3b4dd21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,16 @@ FROM archlinux MAINTAINER J.A. de Jong - j.a.dejong@ascee.nl RUN pacman --noconfirm -Sy -RUN pacman --noconfirm -S git doxygen graphviz lighttpd python-pip -RUN pip install doxypypy +RUN pacman --noconfirm -S git doxygen graphviz lighttpd python-pip python-virtualenv WORKDIR /root +ENV VIRTUAL_ENV=/root/testenv +RUN python3 -m venv $VIRTUAL_ENV +ENV PATH="$VIRTUAL_ENV/bin:$PATH" +RUN pip install doxypypy RUN git clone https://code.ascee.nl/ascee/lasp WORKDIR /root/lasp RUN doxygen -RUN rm -rf /srv//http +RUN rm -rf /srv/http RUN mv doc/html /srv/http CMD /usr/bin/lighttpd -D -f /etc/lighttpd/lighttpd.conf