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