flykit-hr-chatbot / Dockerfile.frontend
tekadevaibhav's picture
Upload Dockerfile.frontend with huggingface_hub
ae3bb1d verified
raw
history blame contribute delete
472 Bytes
# Base image — lightweight Python
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.frontend.txt .
RUN pip install --no-cache-dir -r requirements.frontend.txt
# Copy gui.py
COPY gui.py .
# Expose Streamlit port
EXPOSE 8501
# Start Streamlit — disable auto-rerun and menu
CMD ["streamlit", "run", "gui.py", "--server.port=8501", "--server.headless=true", "--browser.gatherUsageStats=false"]