saherPervaiz commited on
Commit
d45f041
·
verified ·
1 Parent(s): 677b618

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -2,11 +2,13 @@ FROM python:3.10
2
 
3
  WORKDIR /app
4
 
5
- COPY . /app
 
6
 
 
7
  RUN pip install --upgrade pip
8
  RUN pip install -r requirements.txt
9
 
10
  EXPOSE 8000
11
 
12
- CMD ["uvicorn", "RAGOPSproject.RAGOPS.app.main:app", "--host", "0.0.0.0", "--port", "8000"]
 
2
 
3
  WORKDIR /app
4
 
5
+ # Copy the whole project
6
+ COPY RAGOPSproject/RAGOPS /app
7
 
8
+ # Install dependencies
9
  RUN pip install --upgrade pip
10
  RUN pip install -r requirements.txt
11
 
12
  EXPOSE 8000
13
 
14
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]