Anjali04-15 commited on
Commit
fb9600d
·
verified ·
1 Parent(s): 49876eb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -12
Dockerfile CHANGED
@@ -1,13 +1,15 @@
1
- FROM python:3.10-slim
2
-
3
- # Create app directory
4
- WORKDIR /app
5
-
6
- # Copy source files
7
- COPY . .
8
-
9
- # Install dependencies
10
- RUN pip install --no-cache-dir -r requirements.txt
11
-
12
- # Run the FastAPI app using uvicorn
 
 
13
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.10-slim
2
+
3
+ # Create app directory
4
+ WORKDIR /app
5
+ COPY fruit-model /app/fruit-model
6
+
7
+
8
+ # Copy source files
9
+ COPY . .
10
+
11
+ # Install dependencies
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ # Run the FastAPI app using uvicorn
15
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]