Spaces:
Build error
Build error
Satyajithchary
commited on
Commit
•
e9017e4
1
Parent(s):
60e3879
Delete Dockerfile
Browse files- Dockerfile +0 -27
Dockerfile
DELETED
@@ -1,27 +0,0 @@
|
|
1 |
-
# Install dependencies
|
2 |
-
RUN apt-get update && apt-get install -y \
|
3 |
-
python3-dev \
|
4 |
-
build-essential \
|
5 |
-
libjpeg-dev \
|
6 |
-
zlib1g-dev \
|
7 |
-
libpng-dev \
|
8 |
-
libglib2.0-0 \
|
9 |
-
libsm6 \
|
10 |
-
libxrender1 \
|
11 |
-
libxext6 \
|
12 |
-
&& rm -rf /var/lib/apt/lists/*
|
13 |
-
|
14 |
-
|
15 |
-
# Install dependencies including torch first
|
16 |
-
RUN pip install --no-cache-dir torch torchvision --extra-index-url https://download.pytorch.org/whl/cpu
|
17 |
-
|
18 |
-
# Then, install other requirements
|
19 |
-
COPY --mount=target=/tmp/requirements.txt,source=requirements.txt /tmp/requirements.txt
|
20 |
-
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
21 |
-
|
22 |
-
|
23 |
-
# Install Detectron2 from source
|
24 |
-
RUN pip install 'git+https://github.com/facebookresearch/detectron2.git
|
25 |
-
|
26 |
-
COPY requirements_base.txt .
|
27 |
-
RUN pip install -r requirements_base.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|