parthmax commited on
Commit
d060bbf
·
verified ·
1 Parent(s): d0d66b5
Files changed (1) hide show
  1. Dockerfile +21 -21
Dockerfile CHANGED
@@ -1,21 +1,21 @@
1
- # Base image
2
- FROM python:3.12-slim
3
-
4
-
5
- # Set working directory
6
- WORKDIR /app
7
-
8
- # Copy backend and frontend folders
9
- COPY backend/ ./backend/
10
- COPY frontend/ ./frontend/
11
- COPY requirements.txt .
12
-
13
- # Install dependencies
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # Expose FastAPI default port
17
- EXPOSE 7860
18
-
19
-
20
- # Run FastAPI server
21
- CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
1
+ # Base image
2
+ FROM python:3.12-slim
3
+
4
+
5
+ # Set working directory
6
+ WORKDIR /app
7
+
8
+ # Copy backend and frontend folders
9
+ COPY backend/ ./backend/
10
+ COPY frontend/ ./frontend/
11
+ COPY requirements.txt .
12
+
13
+ # Install dependencies
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ # Expose FastAPI default port
17
+ EXPOSE 7860
18
+
19
+
20
+ # Run FastAPI server
21
+ CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860"]