File tree 2 files changed +5
-2
lines changed
kubernetes/streamlit-client 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
FROM registry.access.redhat.com/ubi9/python-311:latest
2
2
WORKDIR /app
3
3
RUN pip install --upgrade pip
4
- RUN pip install --no-cache-dir --upgrade streamlit
4
+ RUN pip install --no-cache-dir --upgrade streamlit llama-stack-client python-dotenv
5
5
COPY app/src/streamlit_app.py .
6
6
EXPOSE 8501
7
7
ENTRYPOINT [ "streamlit" , "run" , "streamlit_app.py" ]
Original file line number Diff line number Diff line change @@ -31,14 +31,17 @@ spec:
31
31
volumeMounts :
32
32
- mountPath : /etc/tls/private
33
33
name : proxy-tls
34
- - image : quay.io/michaelclifford/streamlit_client:0.1 .0
34
+ - image : quay.io/michaelclifford/streamlit_client:0.2 .0
35
35
imagePullPolicy : IfNotPresent
36
36
name : streamlit-client
37
37
ports :
38
38
- containerPort : 8080
39
39
protocol : TCP
40
40
- containerPort : 8501
41
41
protocol : TCP
42
+ env :
43
+ - name : REMOTE_BASE_URL
44
+ value : ' http://llamastack-server.llama-serve.svc.cluster.local:8321'
42
45
volumes :
43
46
- name : proxy-tls
44
47
secret :
You can’t perform that action at this time.
0 commit comments