Spaces:
Runtime error
Runtime error
Commit
·
6fb9691
1
Parent(s):
6207057
Delete Dockerfile
Browse files- Dockerfile +0 -20
Dockerfile
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
FROM python:3.9
|
2 |
-
|
3 |
-
RUN pip install virtualenv && virtualenv venv -p python3
|
4 |
-
ENV VIRTUAL_ENV=/venv
|
5 |
-
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
6 |
-
|
7 |
-
WORKDIR /app
|
8 |
-
COPY requirements.txt ./
|
9 |
-
RUN pip install -r requirements.txt
|
10 |
-
|
11 |
-
RUN git clone https://github.com/facebookresearch/detectron2.git
|
12 |
-
RUN python -m pip install -e detectron2
|
13 |
-
|
14 |
-
# Install dependencies
|
15 |
-
RUN apt-get update && apt-get install libgl1 -y
|
16 |
-
|
17 |
-
COPY . /app
|
18 |
-
|
19 |
-
# Run the application:
|
20 |
-
CMD ["python", "-u", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|