Kennymaur commited on
Commit
3b2ea82
·
1 Parent(s): 5b5c8ea

dockerfile updated

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -10,10 +10,10 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
10
  COPY LP6_toolkit .
11
 
12
  # Copy the FastAPI app code to the container
13
- COPY app.py .
14
 
15
  # Expose the port FastAPI app will run on
16
  EXPOSE 7860
17
 
18
  # The CMD instruction specifies the command to run the container
19
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
10
  COPY LP6_toolkit .
11
 
12
  # Copy the FastAPI app code to the container
13
+ COPY api.py .
14
 
15
  # Expose the port FastAPI app will run on
16
  EXPOSE 7860
17
 
18
  # The CMD instruction specifies the command to run the container
19
+ CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]