Skip to content

Commit

Permalink
initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jivan Kulkarni committed Jun 16, 2015
1 parent a641e6d commit c67a52f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM debian:jessie
MAINTAINER Jivan Kulkarni <jivank@gmail.com>

RUN echo $'deb http://www.lesbonscomptes.com/recoll/debian/ unstable main\n \
deb-src http://www.lesbonscomptes.com/recoll/debian/ unstable main' > \
/etc/apt/sources.list.d/recoll.list

RUN apt-get update && \
apt-get install -y recoll python-recoll python git wv poppler-utils && \
apt-get clean

RUN mkdir /data
RUN echo topdirs = /data >> /root/.recoll/recoll.conf

RUN git clone https://github.com/koniu/recoll-webui.git
ADD start.sh /root
ADD bgindex.sh /root

VOLUME /data

ENTRYPOINT ["/root/start.sh"]
EXPOSE 8080
Empty file added bgindex.sh
Empty file.
3 changes: 3 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
bash /root/bgindex.sh &
python /recoll-webui/webui-standalone.py

0 comments on commit c67a52f

Please sign in to comment.