Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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
|
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"]
|