Spaces:
Running
Running
fixed package issue
Browse files- Dockerfile +0 -28
- apt.txt +8 -0
Dockerfile
DELETED
@@ -1,28 +0,0 @@
|
|
1 |
-
FROM python:3.10-slim
|
2 |
-
|
3 |
-
WORKDIR /app
|
4 |
-
|
5 |
-
RUN apt-get update && apt-get install -y \
|
6 |
-
git \
|
7 |
-
git-lfs \
|
8 |
-
ffmpeg \
|
9 |
-
libsm6 \
|
10 |
-
libxext6 \
|
11 |
-
cmake \
|
12 |
-
rsync \
|
13 |
-
libgl1 \
|
14 |
-
&& rm -rf /var/lib/apt/lists/* \
|
15 |
-
&& git lfs install
|
16 |
-
|
17 |
-
COPY requirements.txt .
|
18 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
19 |
-
|
20 |
-
COPY . .
|
21 |
-
|
22 |
-
RUN mkdir -p checkpoints uploads
|
23 |
-
|
24 |
-
RUN ls -la checkpoints/ || echo "Checkpoints directory not found" && \
|
25 |
-
test -f checkpoints/efficientnet.onnx && echo "efficientnet.onnx found" || echo "efficientnet.onnx missing" && \
|
26 |
-
test -f checkpoints/model.pth && echo "model.pth found" || echo "model.pth missing"
|
27 |
-
|
28 |
-
# No EXPOSE or CMD — Hugging Face runs `python app.py` for Gradio automatically
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apt.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
git
|
2 |
+
git-lfs
|
3 |
+
ffmpeg
|
4 |
+
libsm6
|
5 |
+
libxext6
|
6 |
+
cmake
|
7 |
+
rsync
|
8 |
+
libgl1
|