xcurvnubaim commited on
Commit
1b675b4
·
1 Parent(s): c335d4c

fix: fix dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -7,10 +7,10 @@ WORKDIR /code
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
- COPY ./app /code/app
11
 
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
  COPY . .
15
 
16
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
7
 
8
  COPY ./requirements.txt /code/requirements.txt
9
 
10
+ COPY ./app.py /code/
11
 
12
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
13
 
14
  COPY . .
15
 
16
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]