forked from ankitrgadiya/docker-ikiwiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (30 loc) · 1.07 KB
/
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
27
28
29
30
31
32
33
34
FROM debian:latest
MAINTAINER Ankit R Gadiya <[email protected]>
# Packages _____________________________________________________________________
RUN apt-get update \
&& apt-get install -y \
nginx \
fcgiwrap \
python \
ikiwiki \
libxml-writer-perl \
xapian-omega \
libsearch-xapian-perl \
libdigest-sha-perl \
libhtml-scrubber-perl \
texlive-latex-base \
dvipng \
graphviz \
&& rm -rf /var/lib/apt/lists/*
#_______________________________________________________________________________
# Configuration and Scripts ____________________________________________________
COPY config/nginx.conf /etc/nginx/sites-available/ikiwiki
COPY script/* /opt/
RUN ln -v /etc/nginx/sites-available/ikiwiki /etc/nginx/sites-enabled/ikiwiki \
&& rm /etc/nginx/sites-enabled/default
#_______________________________________________________________________________
VOLUME /wiki
# Server _______________________________________________________________________
EXPOSE 80
CMD ["bash", "/opt/docker-entrypoint.sh"]
#_______________________________________________________________________________