-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (26 loc) · 646 Bytes
/
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 alpine:latest
RUN apk add --update \
build-base \
cmake \
curl-dev \
gcc \
gettext \
linux-headers \
openssl \
py-pip \
python3-dev \
util-linux-dev \
zlib-dev && \
python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip
ADD https://oligarchy.co.uk/xapian/1.4.18/xapian-core-1.4.18.tar.xz /tmp/
WORKDIR /tmp/
RUN tar Jxf /tmp/xapian-core-1.4.18.tar.xz
WORKDIR /tmp/xapian-core-1.4.18
RUN ./configure && make && make install
WORKDIR /spotlyt
COPY . .
RUN pip3 install --no-cache pipenv
RUN pipenv install --system --deploy --ignore-pipfile
EXPOSE 5000
CMD ["python3", "run.py"]