kouki321 commited on
Commit
5e09876
·
verified ·
1 Parent(s): 42cbd99

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -19,10 +19,12 @@ WORKDIR /app
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
21
  RUN pip install accelerate
22
- # Install DeepSeek 1.5 (if it's a Python package, otherwise adjust this step)
23
 
 
24
  COPY . .
25
 
 
26
  EXPOSE 7860
27
 
28
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
19
  COPY requirements.txt .
20
  RUN pip install --no-cache-dir -r requirements.txt
21
  RUN pip install accelerate
 
22
 
23
+ # Copy the application code into the container
24
  COPY . .
25
 
26
+ # Expose the port your application will run on
27
  EXPOSE 7860
28
 
29
+ # Define the command to run your FastAPI application
30
+ CMD ["python", "app.py"]