Group2255/programming-help-chatbot
0
1# ๐ฆ Base Image: Lightweight Python 3.9 with security updates2FROM python:3.9-slim3 4# ๐ Set working directory inside the container5WORKDIR /app6 7# ๐ Copy necessary application files into the container8COPY requirements.txt .9COPY app.py .10COPY README.md .11 12# โ๏ธ Install Python dependencies13RUN pip install --no-cache-dir -r requirements.txt14 15# ๐ Expose Streamlit default port16EXPOSE 850117 18# ๐ Launch the Streamlit application19CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.enableCORS=false"]20 