Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -31
Dockerfile
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
# Use official slim Python base image
|
2 |
-
FROM python:3.10-slim
|
3 |
-
|
4 |
-
# Prevent Python from writing .pyc files
|
5 |
-
ENV PYTHONDONTWRITEBYTECODE=1
|
6 |
-
# Buffer stdout/stderr for easier logging
|
7 |
-
ENV PYTHONUNBUFFERED=1
|
8 |
-
|
9 |
-
# Install OS dependencies
|
10 |
-
RUN apt-get update && apt-get install -y --no-install-recommends \
|
11 |
-
build-essential \
|
12 |
-
libgl1-mesa-glx \
|
13 |
-
libglib2.0-0 \
|
14 |
-
&& rm -rf /var/lib/apt/lists/*
|
15 |
-
|
16 |
-
# Set working directory
|
17 |
-
WORKDIR /app
|
18 |
-
|
19 |
-
# Copy and install Python dependencies
|
20 |
-
COPY requirements.txt ./
|
21 |
-
RUN pip install --upgrade pip \
|
22 |
-
&& pip install --no-cache-dir -r requirements.txt
|
23 |
-
|
24 |
-
# Copy application code
|
25 |
-
COPY . /app
|
26 |
-
|
27 |
-
# Expose Streamlit default port
|
28 |
-
EXPOSE 8501
|
29 |
-
|
30 |
-
# Run the Streamlit app on container start
|
31 |
-
CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|