Spaces:
Sleeping
Sleeping
Delete dockerfile
Browse files- dockerfile +0 -31
dockerfile
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
FROM python:3.10-slim
|
2 |
-
|
3 |
-
# Install system dependencies
|
4 |
-
RUN apt-get update && apt-get install -y \
|
5 |
-
git \
|
6 |
-
git-lfs \
|
7 |
-
ffmpeg \
|
8 |
-
libsm6 \
|
9 |
-
libxext6 \
|
10 |
-
cmake \
|
11 |
-
rsync \
|
12 |
-
libgl1-mesa-glx \
|
13 |
-
&& rm -rf /var/lib/apt/lists/* \
|
14 |
-
&& git lfs install
|
15 |
-
|
16 |
-
# Set working directory
|
17 |
-
WORKDIR /app
|
18 |
-
|
19 |
-
# Copy requirements and install Python dependencies
|
20 |
-
COPY requirements.txt .
|
21 |
-
RUN pip install --no-cache-dir pip -U && \
|
22 |
-
pip install --no-cache-dir -r requirements.txt
|
23 |
-
|
24 |
-
# Copy application code
|
25 |
-
COPY . .
|
26 |
-
|
27 |
-
# Expose port
|
28 |
-
EXPOSE 7860
|
29 |
-
|
30 |
-
# Command to run the application
|
31 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|