Spaces:
Sleeping
Sleeping
File size: 405 Bytes
6998bc6 585c783 d57df86 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use Python slim-buster as base image for smaller size
FROM python:3.10.15-slim
# Set working directory
WORKDIR /app
# Copy requirements first to leverage Docker cache
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy Python source files
COPY *.py .
RUN [ "python", "-m", "scrap" ]
CMD ["streamlit", "run", "app.py", "--server.port", "2000"]
|