Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files8 unmodified lines91011121314152 unmodified lines181920212223242526275 unmodified lines333435368 unmodified linesWORKDIR /app# --- Copy application files ---COPY . /app# --- Install system dependencies ---RUN apt-get update && apt-get install -y \2 unmodified lineslibsm6 \libxext6 \libxrender1 \&& rm -rf /var/lib/apt/lists/*# --- Install Python dependencies ---RUN pip install --no-cache-dir --upgrade pipRUN pip install --no-cache-dir -r requirements.txt# --- Make data directories writable ---5 unmodified linesEXPOSE 8501# --- Default command ---CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]8 unmodified lines91011121314152 unmodified lines1819202122232425262728295 unmodified lines353637388 unmodified linesWORKDIR /app# --- Copy application files ---COPY src/ /app/# --- Install system dependencies ---RUN apt-get update && apt-get install -y \2 unmodified lineslibsm6 \libxext6 \libxrender1 \wget \&& rm -rf /var/lib/apt/lists/*# --- Install Python dependencies ---RUN pip install --no-cache-dir --upgrade pipCOPY requirements.txt /app/RUN pip install --no-cache-dir -r requirements.txt# --- Make data directories writable ---5 unmodified linesEXPOSE 8501# --- Default command ---CMD ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
Dockerfile+4-2