Diksha2001 commited on
Commit
61683a4
1 Parent(s): 82235bb

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -37
Dockerfile DELETED
@@ -1,37 +0,0 @@
1
- FROM python:3.11
2
-
3
- # Set the working directory
4
-
5
- WORKDIR /app
6
-
7
- # Update package lists, install dependencies, and clean up to reduce image size
8
-
9
- RUN apt update && apt install -y \
10
-
11
- libgl1-mesa-glx \
12
-
13
- curl && \
14
-
15
- rm -rf /var/lib/apt/lists/*
16
-
17
- # Copy the requirements file first to leverage Docker caching
18
-
19
- COPY requirements.txt ./
20
-
21
- # Install Python dependencies with upgraded pip
22
- RUN python3 -m pip install --upgrade pip && \
23
- python3 -m pip install --no-cache-dir -r requirements.txt && \
24
- python3 -m pip list
25
-
26
- # Environment variables
27
- ENV PYTHONPATH=/app
28
- ENV PYTHONUNBUFFERED=1
29
-
30
- # Copy the rest of the application code
31
-
32
- COPY . .
33
-
34
- # Set the default command to run your application
35
-
36
- CMD ["python3", "handler.py"]
37
-