Commit
·
9e459b2
1
Parent(s):
d1440d8
Delete Dockerfile
Browse filesDocker method is getting stuck in "building" phase. It's a bug in huggingface (from hf discussions)
- Dockerfile +0 -22
Dockerfile
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
FROM python:3.11-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
RUN apt-get update && \
|
| 6 |
-
apt-get install -y tesseract-ocr && \
|
| 7 |
-
apt-get install -y tesseract-ocr-* && \
|
| 8 |
-
apt-get clean && \
|
| 9 |
-
rm -rf /var/lib/apt/lists/*
|
| 10 |
-
|
| 11 |
-
# RUN apt-get install -y ffmpeg \
|
| 12 |
-
# && apt-get install -y libsndfile1
|
| 13 |
-
|
| 14 |
-
COPY requirements.txt .
|
| 15 |
-
|
| 16 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
-
|
| 18 |
-
COPY . .
|
| 19 |
-
|
| 20 |
-
EXPOSE 7860
|
| 21 |
-
|
| 22 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|