Spaces:
No application file
No application file
Delete Dockerfile
Browse files- Dockerfile +0 -31
Dockerfile
DELETED
|
@@ -1,31 +0,0 @@
|
|
| 1 |
-
# Use a base Python image
|
| 2 |
-
FROM python:3.9-slim
|
| 3 |
-
|
| 4 |
-
# Set environment variables to avoid prompts
|
| 5 |
-
ENV DEBIAN_FRONTEND=noninteractive
|
| 6 |
-
|
| 7 |
-
# Install system dependencies for OpenCV and Streamlit
|
| 8 |
-
RUN apt-get update && apt-get install -y \
|
| 9 |
-
libgl1 \
|
| 10 |
-
libglib2.0-0 \
|
| 11 |
-
libsm6 \
|
| 12 |
-
libxext6 \
|
| 13 |
-
libxrender-dev \
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
-
|
| 16 |
-
# Set the working directory in the container
|
| 17 |
-
WORKDIR /app
|
| 18 |
-
|
| 19 |
-
# Copy requirements and install Python dependencies
|
| 20 |
-
COPY requirements.txt .
|
| 21 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 22 |
-
|
| 23 |
-
# Copy the rest of your app code
|
| 24 |
-
COPY . .
|
| 25 |
-
|
| 26 |
-
# Expose the Streamlit default port
|
| 27 |
-
EXPOSE 8501
|
| 28 |
-
|
| 29 |
-
# Run the Streamlit app
|
| 30 |
-
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|