eq_sim / Dockerfile
elanuk's picture
Update Dockerfile
90b7814 verified
# Base Python image
FROM python:3.10-slim
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app code
COPY . .
# Expose the port Streamlit will run on
EXPOSE 7860
# Run Streamlit
CMD ["streamlit", "run", "streamlit_app.py", "--server.port=7860", "--server.address=0.0.0.0"]