ikram commited on
Commit
7a05c5f
·
1 Parent(s): 164a5da

remove the docker files

Browse files
Visualisation/dockerfile DELETED
@@ -1,20 +0,0 @@
1
- # Use an official Python image as the base image
2
- FROM python:3.9
3
-
4
- # Set the working directory inside the container
5
- WORKDIR /app
6
-
7
- # Copy the main project files
8
- COPY requirements.txt .
9
-
10
- # Install the dependencies
11
- RUN pip install --no-cache-dir -r project/requirements.txt
12
-
13
- # Copy the entire project into the container
14
- COPY . .
15
-
16
- # Expose the FastAPI default port
17
- EXPOSE 8000
18
-
19
- # Command to start FastAPI with Uvicorn
20
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
__pycache__/main.cpython-39.pyc ADDED
Binary file (318 Bytes). View file
 
docker-compose.yml DELETED
@@ -1,19 +0,0 @@
1
-
2
- services:
3
- data-visualization:
4
- build: ./Visualisation # Chemin vers le Dockerfile de ce service
5
- container_name: data_vis_service
6
- ports:
7
- - "8001:8000" # Exposer l'API sur le port 8001
8
- volumes:
9
- - ./uploads:/app/uploads # Partager le dossier d'uploads
10
-
11
-
12
-
13
- document-translation:
14
- build: ./translation # Chemin vers le Dockerfile de ce service
15
- container_name: translation_service
16
- ports:
17
- - "8002:8000" # Exposer l'API sur le port 8002
18
- volumes:
19
- - ./uploads:/app/uploads # Partager le dossier d'uploads
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
requirements.txt DELETED
Binary file (350 Bytes)
 
translation/dockerfile DELETED
@@ -1,23 +0,0 @@
1
- # Use Python 3.9 as base image
2
- FROM python:3.9
3
-
4
- # Set working directory inside the container
5
- WORKDIR /app
6
-
7
- # Copy project files
8
- COPY . .
9
-
10
- # Copy the torch_wheels directory from location
11
- COPY ../torch_wheels /tmp/torch_wheels
12
-
13
- # Install torch wheels
14
- RUN pip install --no-cache-dir /tmp/torch_wheels/*
15
-
16
- # Install other dependencies
17
- RUN pip install --no-cache-dir -r project/requirements.txt
18
-
19
- # Expose port for FastAPI
20
- EXPOSE 7860
21
-
22
- # Start the application
23
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]