LightRT commited on
Commit
32ca589
·
1 Parent(s): c9dbaae

Cleaning Structure

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -24
  2. docker-compose.yaml +0 -24
Dockerfile DELETED
@@ -1,24 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- RUN apt-get update && apt-get install -y \
4
- libgl1 \
5
- libglib2.0-0 \
6
- libsm6 \
7
- libxext6 \
8
- libxrender1 \
9
- libxcb1 \
10
- tesseract-ocr \
11
- tesseract-ocr-eng \
12
- poppler-utils \
13
- && rm -rf /var/lib/apt/lists/*
14
-
15
- WORKDIR /app
16
-
17
- COPY requirements.txt .
18
- RUN pip install --no-cache-dir -r requirements.txt
19
-
20
- COPY . .
21
-
22
- EXPOSE 7860
23
-
24
- CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
docker-compose.yaml DELETED
@@ -1,24 +0,0 @@
1
- version: '3.8'
2
-
3
- services:
4
- backend:
5
- build:
6
- context: .
7
- dockerfile: backend.Dockerfile
8
- ports:
9
- - "8000:8000"
10
- env_file:
11
- - .env
12
- restart: always
13
-
14
- frontend:
15
- build:
16
- context: .
17
- dockerfile: frontend.Dockerfile
18
- ports:
19
- - "8501:8501"
20
- env_file:
21
- - .env
22
- depends_on:
23
- - backend
24
- restart: always