anushadudi commited on
Commit
e161009
·
verified ·
1 Parent(s): 4d0e1b9

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -7,8 +7,9 @@ WORKDIR /app
7
  # Install requirements
8
  RUN pip install --no-cache-dir fastapi>=0.104.0 uvicorn>=0.24.0 pydantic>=2.0.0 requests>=2.25.0
9
 
10
- # Copy the standalone app (which includes everything)
11
- COPY standalone_app.py /app/standalone_app.py
 
12
 
13
  # Expose port 8000
14
  EXPOSE 8000
 
7
  # Install requirements
8
  RUN pip install --no-cache-dir fastapi>=0.104.0 uvicorn>=0.24.0 pydantic>=2.0.0 requests>=2.25.0
9
 
10
+ # Copy the standalone app
11
+ # When deployed to HF, the Dockerfile is moved to root, so server/ contains the app
12
+ COPY server/standalone_app.py /app/standalone_app.py
13
 
14
  # Expose port 8000
15
  EXPOSE 8000