jeevzz commited on
Commit
a740383
·
verified ·
1 Parent(s): ea6263c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -4,7 +4,7 @@ WORKDIR /app
4
  # Install uv
5
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
6
 
7
- # Copy files
8
  COPY pyproject.toml uv.lock ./
9
  COPY chat.py database.py main.py voice.py ./
10
 
@@ -13,5 +13,5 @@ RUN uv sync --frozen
13
 
14
  EXPOSE 7860
15
 
16
- # Run app - note the module path is now just "main" not "backend.main"
17
  CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
4
  # Install uv
5
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
6
 
7
+ # Copy files (flat structure, no backend folder)
8
  COPY pyproject.toml uv.lock ./
9
  COPY chat.py database.py main.py voice.py ./
10
 
 
13
 
14
  EXPOSE 7860
15
 
16
+ # Run app - using module name directly
17
  CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]