Skip to content
Discussion options

You must be logged in to vote

OK - my workaround was to use amd64 base image. Updated dockerfile to:

# app/Dockerfile

FROM amd64/python:3.10-slim

RUN apt-get update && apt-get install -y \
    build-essential \
    curl \
    software-properties-common \
    git \
    && rm -rf /var/lib/apt/lists/*

COPY . /app/.

RUN pip install --upgrade pip
RUN pip install contentful rich-text-renderer beautifulsoup4 
RUN pip install streamlit streamlit-chat 
RUN pip install farm-haystack 
RUN pip install 'farm-haystack[faiss]'
RUN pip install tiktoken

WORKDIR /app

EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health

# To avoid file not found issue described here https://github.com/streamlit/streamlit/i…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mgardner-chegg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant