jeevzz commited on
Commit
9a8c553
·
verified ·
1 Parent(s): 9e0f08e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -4,14 +4,14 @@ WORKDIR /app
4
  # Install uv
5
  COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
6
 
7
- # Copy only backend files
8
- COPY backend/ /app/backend/
9
- COPY pyproject.toml /app/
10
- COPY uv.lock /app/
11
 
12
  # Install dependencies
13
  RUN uv sync --frozen
14
 
15
  EXPOSE 7860
16
 
17
- CMD ["uv", "run", "uvicorn", "backend.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
8
+ COPY pyproject.toml uv.lock ./
9
+ COPY chat.py database.py main.py voice.py ./
 
10
 
11
  # Install dependencies
12
  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"]