Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

Commit ca443b4

Browse files
committed
first commit
1 parent 4b5f6a1 commit ca443b4

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM jruby:1.7.22-jdk
2+
MAINTAINER Manuel Aristaran <manuel@jazzido> (@manuelaristaran)
3+
4+
RUN apt-get update && apt-get install -y git software-properties-common --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
6+
7+
RUN mkdir /tabula-data
8+
VOLUME /tabula-data
9+
10+
RUN git clone -b master https://github.com/tabulapdf/tabula.git /tabula
11+
RUN cd /tabula && bundle install
12+
13+
ENV TABULA_DATA_DIR /tabula-data
14+
15+
EXPOSE 9292
16+
17+
CMD cd /tabula && TABULA_DATA_DIR=$TABULA_DATA_DIR rackup -o 0.0.0.0 -p 9292

0 commit comments

Comments
 (0)