-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
42 lines (35 loc) · 1.59 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
35
36
37
38
39
40
41
42
FROM debian:bullseye-slim
MAINTAINER jajpater
# install important dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends python3 python3-pip git && \
pip3 install waitress
# install recollcmd from recolls programmers website
RUN apt-get install -y --no-install-recommends gnupg
# COPY recoll.gpg /root/recoll.gpg
# RUN gpg --import /root/recoll.gpg
# RUN gpg --export '7808CE96D38B9201' | apt-key add -
# RUN apt-get install --reinstall -y ca-certificates
# RUN apt-get update
# RUN echo deb http://www.lesbonscomptes.com/recoll/debian/ buster main > \
# /etc/apt/sources.list.d/recoll.list
# RUN echo deb-src http://www.lesbonscomptes.com/recoll/debian/ buster main >> \
# /etc/apt/sources.list.d/recoll.list
RUN apt-get install -y --no-install-recommends recollcmd python3-recoll
RUN apt autoremove
# install additional dependencies and software here
RUN apt-get install -y --no-install-recommends poppler-utils
RUN apt-get install -y --no-install-recommends unrtf antiword
RUN apt-get install -y --no-install-recommends unzip
RUN apt-get install -y --no-install-recommends python3-mutagen
# RUN apt-get install -y --no-install-recommends libimage-exiftool-perl
RUN apt-get install -y --no-install-recommends untex
RUN apt-get clean
RUN mkdir /docs && mkdir /root/.recoll && mkdir /docs2
COPY recoll.conf /root/.recoll/recoll.conf
RUN echo topdirs = /docs >> /root/.recoll/recoll.conf
RUN cd / && git clone https://framagit.org/medoc92/recollwebui.git
VOLUME /docs
VOLUME /docs2
EXPOSE 8080
CMD ["/usr/bin/python3", "/recollwebui/webui-standalone.py", "-a", "0.0.0.0"]