AbdoIR commited on
Commit
3b807c3
·
verified ·
1 Parent(s): 53218a2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -17
Dockerfile CHANGED
@@ -1,17 +1,19 @@
1
- FROM python:3.11-slim
2
-
3
- # Create app directory
4
- WORKDIR /app
5
-
6
- # Install dependencies
7
- COPY requirements.txt .
8
- RUN pip install --no-cache-dir -r requirements.txt
9
-
10
- # Copy app files
11
- COPY . .
12
-
13
- # Expose the port used by Flask
14
- ENV PORT=5000
15
- ENV FLASK_ENV=production
16
-
17
- CMD ["python", "api.py"]
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ # Create app directory
4
+ WORKDIR /app
5
+
6
+ ENV NUMBA_DISABLE_CACHE=1
7
+
8
+ # Install dependencies
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Copy app files
13
+ COPY . .
14
+
15
+ # Expose the port used by Flask
16
+ ENV PORT=5000
17
+ ENV FLASK_ENV=production
18
+
19
+ CMD ["python", "api.py"]