benkada commited on
Commit
8cfb56b
·
verified ·
1 Parent(s): 515c4a0

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -28
Dockerfile DELETED
@@ -1,28 +0,0 @@
1
- # Use Python 3.12 for better compatibility with latest packages
2
- FROM python:3.12-slim
3
-
4
- # Set the working directory
5
- WORKDIR /app
6
-
7
- # Install system dependencies
8
- RUN apt-get update && apt-get install -y \
9
- build-essential \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Copy requirements first to leverage Docker cache
13
- COPY requirements.txt .
14
-
15
- # Install Python dependencies
16
- RUN pip install --no-cache-dir -r requirements.txt
17
-
18
- # Copy the rest of the application
19
- COPY . .
20
-
21
- # Create uploads directory
22
- RUN mkdir -p uploads
23
-
24
- # Expose the port the app runs on
25
- EXPOSE 8000
26
-
27
- # Command to run the application
28
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]