Spaces:
Sleeping
Sleeping
File size: 368 Bytes
30857ba 1c6e128 30857ba 1c6e128 4d605ca 1c6e128 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
FROM python:3.10
WORKDIR /src
# Copy only requirements first to leverage Docker cache
COPY requirements.txt /src/
# Install dependencies (will only re-run if requirements.txt changes)
RUN pip install -r requirements.txt
# Now copy the rest of the code
COPY . /src
EXPOSE 8501
CMD ["streamlit", "run", "src/app.py", "--server.port=8501", "--server.address=0.0.0.0"] |