mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
18 lines
325 B
Docker
18 lines
325 B
Docker
FROM python:3.5.1
|
|
|
|
# Install Sphinx and Pygments
|
|
RUN pip install --no-cache-dir Sphinx Pygments \
|
|
# Setup directories, copy data
|
|
&& mkdir /build
|
|
|
|
COPY . /build
|
|
WORKDIR /build/docs
|
|
|
|
# Build documentation
|
|
RUN make html
|
|
|
|
# Start webserver
|
|
WORKDIR /build/docs/_build/html
|
|
EXPOSE 8000/tcp
|
|
CMD ["python3", "-m", "http.server"]
|