bergum commited on
Commit
2742fda
1 Parent(s): c20a286

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1,13 +1,19 @@
1
  FROM vespaengine/vespa:latest
2
 
3
  USER root
 
4
  RUN yum install -y python39 python39-pip wget git
5
- RUN pip3 install requests
 
 
6
  COPY ./run.sh /opt/vespa/vespa/bin/run.sh
7
  COPY ./proxy.py /opt/vespa/vespa/bin/proxy.py
 
8
  RUN chmod +x /opt/vespa/vespa/bin/proxy.py
9
  RUN chmod +x /opt/vespa/vespa/bin/run.sh
10
  RUN chown vespa /opt/vespa/vespa/bin/run.sh
 
 
11
  RUN mkdir /opt/vespa/.m2/
12
  RUN mkdir /opt/maven
13
  RUN chown vespa /opt/vespa/.m2/
 
1
  FROM vespaengine/vespa:latest
2
 
3
  USER root
4
+
5
  RUN yum install -y python39 python39-pip wget git
6
+ RUN pip3 install requests mmh3 spacy
7
+ RUN python3 -m spacy download en_core_web_sm
8
+
9
  COPY ./run.sh /opt/vespa/vespa/bin/run.sh
10
  COPY ./proxy.py /opt/vespa/vespa/bin/proxy.py
11
+
12
  RUN chmod +x /opt/vespa/vespa/bin/proxy.py
13
  RUN chmod +x /opt/vespa/vespa/bin/run.sh
14
  RUN chown vespa /opt/vespa/vespa/bin/run.sh
15
+ RUN chown vespa /opt/vespa/vespa/bin/proxy.py
16
+
17
  RUN mkdir /opt/vespa/.m2/
18
  RUN mkdir /opt/maven
19
  RUN chown vespa /opt/vespa/.m2/