wjm55 commited on
Commit
20eb525
·
1 Parent(s): c8497a7

Refactor Dockerfile: Remove wget command and adjust file ownership for requirements.txt

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -3
  2. requirements.txt +4 -0
Dockerfile CHANGED
@@ -10,11 +10,8 @@ ENV PATH="/home/user/.local/bin:$PATH"
10
 
11
  WORKDIR /app
12
 
13
- COPY --chown=user ./requirements.txt requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
 
16
- RUN wget -q https://docs-assets.developer.apple.com/ml-research/datasets/mobileclip/mobileclip_blt.pt
17
-
18
 
19
  COPY --chown=user . /app
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
10
 
11
  WORKDIR /app
12
 
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
 
 
15
 
16
  COPY --chown=user . /app
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ fastapi
2
+ uvicorn[standard]
3
+ supervision
4
+ spacy