Download Dockerfile from Refat81/Social_Media_Data_Extractor_Chatbot: direct link, hf CLI and curl.
- Browser
- Download file 548 Bytes
-
https://huggingface.co/spaces/Refat81/Social_Media_Data_Extractor_Chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Refat81/Social_Media_Data_Extractor_Chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Refat81/Social_Media_Data_Extractor_Chatbot/resolve/main/Dockerfile
548 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| COPY *.py ./ | |
| COPY pages/ ./pages/ | |
| COPY .streamlit/ ./.streamlit/ | |
| RUN pip3 install --no-cache-dir -r requirements.txt | |
| ENV STREAMLIT_GLOBAL_METRICS=false | |
| ENV STREAMLIT_GLOBAL_DEVELOPMENT_MODE=false | |
| ENV STREAMLIT_SERVER_HEADLESS=true | |
| EXPOSE 8501 | |
| ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0", "--global.developmentMode=false", "--browser.gatherUsageStats=false"] |