reposage-chatbot / Dockerfile
Rohit Rajpoot
Deploy: copy app, Dockerfile, requirements, and assist to Space
4adef30
raw
history blame contribute delete
361 Bytes
# Use a small Python base image
FROM python:3.12-slim
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip && \
pip install -r requirements.txt
# Copy all project files
COPY . .
# Expose Streamlit port and run
EXPOSE 8501
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]