This repository was archived by the owner on Jun 25, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM jruby:1.7.22-jdk
2
2
MAINTAINER Manuel Aristaran <manuel@jazzido> (@manuelaristaran)
3
3
4
- RUN apt-get update && apt-get install -y git software-properties-common mupdf-tools --no-install-recommends
5
- RUN add-apt-repository -y "deb http://httpredir.debian.org/debian jessie contrib" && apt-get update && apt-get install -y ttf-mscorefonts-installer
4
+
5
+ RUN echo "deb http://httpredir.debian.org/debian jessie contrib" > /etc/apt/sources.list.d/contrib.list
6
+ RUN apt-get update && apt-get install -y git ttf-mscorefonts-installer mupdf-tools --no-install-recommends
6
7
7
8
RUN mkdir /tabula-data
8
9
VOLUME /tabula-data
9
10
10
- RUN git clone -b master https://github.com/tabulapdf/tabula.git /tabula
11
+ RUN git clone --depth=10 - b master https://github.com/tabulapdf/tabula.git /tabula
11
12
RUN cd /tabula && bundle install
12
13
13
14
ENV TABULA_DATA_DIR /tabula-data
14
15
15
16
EXPOSE 9292
16
17
17
- CMD cd /tabula && TABULA_DATA_DIR=$TABULA_DATA_DIR rackup -o 0.0.0.0 -p 9292
18
+ CMD cd /tabula && TABULA_DATA_DIR=$TABULA_DATA_DIR JRUBY_OPTS= "--server" rackup -o 0.0.0.0 -p 9292
You can’t perform that action at this time.
0 commit comments