Streamlit not found

Summary

Share a clear and concise description of the issue. Aim for 2-3 sentences.

Steps to reproduce

Dockerfile

FROM python:3.9.10-slim-buster

RUN apt-get update && apt-get install python-tk python3-tk tk-dev -y

WORKDIR /app

COPY requirements.txt /app/

RUN pip install -r requirements.txt

EXPOSE 8501

COPY . /app/

ENTRYPOINT ["streamlit", "run", "llamaindex\TheSuite.py", "--server.port=8501", "--server.address=0.0.0.0"]

requirements.txt

langchain
PyPDF2
python-dotenv
faiss-cpu
llama_index >= 0.7.19
tiktoken
Unstructured
langchain >= 0.0.253
openai >= 0.27.7
streamlit >= 1.24.0

running docker run -it --rm -p 8501:8501 crtzst

Expected behavior:

The streamlit app to be ran

Actual behavior:

/bin/sh: 1: [streamlit,: not found

Debug info

  • Streamlit version: Latest
  • Python version: 3.9.10-slim-buster

Links

I think ist the wrong keyword, you probably want CMD instead?

doesnt fix it

CMD ["streamlit", "run", "llamaindex/TheSuite.py"]
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.