Created
July 27, 2023 03:22
-
-
Save alevz257/8bc50751004e1b15dc17646ed7f16856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.10-slim | |
WORKDIR /app | |
RUN apt-get update && apt-get install -y \ | |
build-essential \ | |
curl \ | |
software-properties-common \ | |
git \ | |
&& rm -rf /var/lib/apt/lists/* | |
COPY . ./ | |
RUN pip install --no-cache-dir -r requirements.txt | |
EXPOSE 8080 | |
HEALTHCHECK CMD curl --fail http://localhost:8080/_stcore/health | |
ENTRYPOINT ["streamlit", "run", "chatllm-memory-cache.py", "--server.port=8080", "--server.address=0.0.0.0"] | |
#--server.enableCORS=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment