mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-13 10:24:00 +02:00
build Sphinx documentation and use php -S to actually view it
This commit is contained in:
@@ -3,6 +3,7 @@ WORKDIR /app
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libzip-dev wget git-core python-pip \
|
||||
&& docker-php-ext-install zip \
|
||||
&& pip install Sphinx
|
||||
&& pip install Sphinx sphinx_rtd_theme
|
||||
ADD . /app
|
||||
CMD [ "make", "cs", "test" ]
|
||||
RUN cd /app && make cs test html
|
||||
CMD [ "php", "-S", "0.0.0.0:80", "-t", "_build/html" ]
|
||||
|
Reference in New Issue
Block a user