Spaces:
Sleeping
Sleeping
File size: 562 Bytes
71ef153 97ccb08 4e7895f 14c8701 71ef153 97ccb08 4e7895f 71ef153 97ccb08 2a8517e 97ccb08 2a8517e a645913 219a9b3 2a8517e a645913 219a9b3 71ef153 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM python:3.13.5-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
libssl-dev \
libffi-dev \
cmake \
git \
&& rm -rf /var/lib/apt/lists/*
# Set the work directory and copy your application files
WORKDIR /app
COPY requirements.txt ./
COPY app.py ./
# Install Python dependencies
RUN pip3 install -r requirements.txt
# Expose the Streamlit port
EXPOSE 8501
# Entrypoint to run your Streamlit app
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"] |