Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -29
Dockerfile
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
# Use the official Python image from Docker Hub
|
| 2 |
-
FROM python:3.10
|
| 3 |
-
|
| 4 |
-
# Install necessary system dependencies
|
| 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-mesa-glx \
|
| 14 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
-
|
| 16 |
-
# Install pip version 22.3.1 and install required Python packages
|
| 17 |
-
RUN pip install --no-cache-dir pip==24.1.2
|
| 18 |
-
COPY requirements.txt /tmp/requirements.txt
|
| 19 |
-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
| 20 |
-
|
| 21 |
-
# Set up the working directory
|
| 22 |
-
WORKDIR /home/user/app
|
| 23 |
-
|
| 24 |
-
# Clone Detectron2 from GitHub and install additional dependencies
|
| 25 |
-
RUN git clone https://github.com/facebookresearch/detectron2.git
|
| 26 |
-
RUN pip install -e detectron2
|
| 27 |
-
|
| 28 |
-
# Set the entrypoint command to run your application
|
| 29 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|