dhani10's picture
Deploy Engine Condition Predictor
82050c4 verified
raw
history blame contribute delete
442 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y gcc g++ && rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY requirements.txt .
# Install Python packages
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy app
COPY streamlit_app.py .
EXPOSE 7860
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]