Remostart commited on
Commit
17f9bf9
·
verified ·
1 Parent(s): 227f031

AI4M initial commit deploy

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -2,10 +2,10 @@
2
  FROM python:3.10-slim
3
 
4
  # Set work directory
5
- WORKDIR /app
6
 
7
  # Copy project files
8
- COPY . /app
9
 
10
  # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
@@ -14,4 +14,4 @@ RUN pip install --no-cache-dir -r requirements.txt
14
  EXPOSE 7860
15
 
16
  # Start FastAPI app with Uvicorn
17
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
2
  FROM python:3.10-slim
3
 
4
  # Set work directory
5
+ WORKDIR /api
6
 
7
  # Copy project files
8
+ COPY . /api
9
 
10
  # Install dependencies
11
  RUN pip install --no-cache-dir -r requirements.txt
 
14
  EXPOSE 7860
15
 
16
  # Start FastAPI app with Uvicorn
17
+ CMD ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "7860"]