| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy and install dependencies | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY . ./ | |
| # Expose Streamlit default port | |
| EXPOSE 8501 | |
| # Run Streamlit app | |
| CMD ["streamlit", "run", "Z-Score_Calculator.py", "--server.address=0.0.0.0", "--server.port=8501"] |