upload
Browse files- 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 |
|