bergum commited on
Commit
6652361
1 Parent(s): 30a9d8e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -3,6 +3,8 @@ FROM vespaengine/vespa:latest
3
  USER root
4
  RUN yum install -y python39 python39-pip wget git
5
  COPY ./run.sh /opt/vespa/vespa/bin/run.sh
 
 
6
  RUN chmod +x /opt/vespa/vespa/bin/run.sh
7
  RUN chown vespa /opt/vespa/vespa/bin/run.sh
8
  RUN mkdir /opt/vespa/.m2/
@@ -10,5 +12,5 @@ RUN mkdir /opt/maven
10
  RUN chown vespa /opt/vespa/.m2/
11
  RUN chown vespa /opt/maven
12
  USER vespa
13
- EXPOSE 8080
14
  ENTRYPOINT ["/opt/vespa/vespa/bin/run.sh"]
 
3
  USER root
4
  RUN yum install -y python39 python39-pip wget git
5
  COPY ./run.sh /opt/vespa/vespa/bin/run.sh
6
+ COPY ./proxy.py /opt/vespa/vespa/bin/proxy.py
7
+ RUN chmod +x /opt/vespa/vespa/bin/proxy.py
8
  RUN chmod +x /opt/vespa/vespa/bin/run.sh
9
  RUN chown vespa /opt/vespa/vespa/bin/run.sh
10
  RUN mkdir /opt/vespa/.m2/
 
12
  RUN chown vespa /opt/vespa/.m2/
13
  RUN chown vespa /opt/maven
14
  USER vespa
15
+ EXPOSE 8001
16
  ENTRYPOINT ["/opt/vespa/vespa/bin/run.sh"]