yiyixin commited on
Commit
69f4aa2
1 Parent(s): da90bef
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -8,6 +8,14 @@ WORKDIR /app
8
  COPY requirements.txt .
9
  COPY serve_grobid.sh .
10
 
 
 
 
 
 
 
 
 
11
  # Install any needed packages specified in requirements.txt
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
 
8
  COPY requirements.txt .
9
  COPY serve_grobid.sh .
10
 
11
+ # JAVA
12
+ RUN apt-get update && \
13
+ apt-get install -y openjdk-11-jre-headless && \
14
+ apt-get clean;
15
+ ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64/
16
+ ENV PATH $JAVA_HOME/bin:$PATH
17
+
18
+
19
  # Install any needed packages specified in requirements.txt
20
  RUN pip install --no-cache-dir -r requirements.txt
21