SebastianAndreu commited on
Commit
76098f7
·
verified ·
1 Parent(s): 7916ea2

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -32
Dockerfile DELETED
@@ -1,32 +0,0 @@
1
- FROM python:3.10
2
-
3
- WORKDIR /app
4
-
5
- # Install system dependencies
6
- RUN apt-get update && apt-get install -y \
7
- tesseract-ocr \
8
- poppler-utils \
9
- git \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Copy requirements and install
13
- COPY requirements.txt .
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # Copy all app files
17
- COPY . .
18
-
19
- # Create user directory
20
- RUN useradd -m -u 1000 user
21
- USER user
22
- ENV HOME=/home/user \
23
- PATH=/home/user/.local/bin:$PATH
24
-
25
- WORKDIR $HOME/app
26
- RUN cp -r /app/* . || true
27
-
28
- # Expose Gradio port
29
- EXPOSE 7860
30
-
31
- # Run the application
32
- CMD ["python", "app.py"]