kubrabuzlu commited on
Commit
0f3acf6
·
1 Parent(s): 26b9a79

feat: Added application file

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -6,8 +6,8 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
- COPY . .
10
 
11
- RUN chmod -R a+w /.cache
12
 
13
- CMD ["uvicorn", "src.api:app", "--host", "0.0.0.0", "--port", "7860"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
+ RUN mkdir -p /.cache && chmod -R a+w /.cache
10
 
11
+ COPY . .
12
 
13
+ CMD ["uvicorn", "src.api:app", "--host", "0.0.0.0", "--port", "7860"]