Spaces:
Runtime error
Runtime error
port update
Browse files- Dockerfile +1 -1
- src/configuration.yaml +1 -0
Dockerfile
CHANGED
@@ -52,7 +52,7 @@ RUN rm -rf /var/lib/{apt,cache,log}
|
|
52 |
EXPOSE 7860
|
53 |
|
54 |
# Expose Prometheus port
|
55 |
-
EXPOSE
|
56 |
|
57 |
RUN chmod +x /home/bentoml/bento/env/docker/entrypoint.sh
|
58 |
|
|
|
52 |
EXPOSE 7860
|
53 |
|
54 |
# Expose Prometheus port
|
55 |
+
EXPOSE 7861
|
56 |
|
57 |
RUN chmod +x /home/bentoml/bento/env/docker/entrypoint.sh
|
58 |
|
src/configuration.yaml
CHANGED
@@ -3,6 +3,7 @@ runners:
|
|
3 |
|
4 |
api_server:
|
5 |
http:
|
|
|
6 |
cors:
|
7 |
enabled: True
|
8 |
access_control_allow_origins: [ "*" ]
|
|
|
3 |
|
4 |
api_server:
|
5 |
http:
|
6 |
+
port: 7860
|
7 |
cors:
|
8 |
enabled: True
|
9 |
access_control_allow_origins: [ "*" ]
|