mca_comment_analyzer / Dockerfile
Harshb11's picture
Update Dockerfile
895004d verified
raw
history blame
356 Bytes
# Use official Python lightweight image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy files
COPY app.py .
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port
EXPOSE 8501
# Run Streamlit
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]