Ii
commited on
Delete dockerfile.txt
Browse files- dockerfile.txt +0 -33
dockerfile.txt
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
FROM python:3.10
|
2 |
-
|
3 |
-
# Install 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 |
-
curl \
|
14 |
-
nodejs \
|
15 |
-
&& rm -rf /var/lib/apt/lists/* \
|
16 |
-
&& git lfs install
|
17 |
-
|
18 |
-
# Clone the insightface repository and install scrfd manually
|
19 |
-
RUN git clone https://github.com/deepinsight/insightface.git /opt/insightface && \
|
20 |
-
cd /opt/insightface && \
|
21 |
-
pip install .
|
22 |
-
|
23 |
-
# Set working directory
|
24 |
-
WORKDIR /home/user/app
|
25 |
-
|
26 |
-
# Copy the application files
|
27 |
-
COPY --chown=1000:1000 . /home/user/app
|
28 |
-
|
29 |
-
# Install Python dependencies
|
30 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
31 |
-
|
32 |
-
# Command to run the application
|
33 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|