com3dian commited on
Commit
a9070f8
·
1 Parent(s): dbba0ae

update dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.8.9
2
 
3
  WORKDIR /app
4
 
@@ -9,7 +9,10 @@ RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf
9
  RUN pip3 install --no-cache-dir -r /app/requirements.txt
10
 
11
  FROM lfoppiano/grobid AS grobid
12
- FROM base AS final
 
 
 
13
 
14
  # User
15
  RUN useradd -m -u 1000 user
 
1
+ FROM python:3.8.9 AS base
2
 
3
  WORKDIR /app
4
 
 
9
  RUN pip3 install --no-cache-dir -r /app/requirements.txt
10
 
11
  FROM lfoppiano/grobid AS grobid
12
+
13
+ FROM base
14
+
15
+ COPY --from=grobid /path/to/grobid /grobid
16
 
17
  # User
18
  RUN useradd -m -u 1000 user