Abijith commited on
Commit
dcd8a54
·
1 Parent(s): 00b9fcb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -10,9 +10,7 @@ RUN apt-get update && apt-get install -y \
10
  tesseract-ocr \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
- RUN git clone https://gitlab.com/abijithe61/yol-ov-4-tf-lite-for-generic-invoice-reader.git .
14
-
15
- # COPY requirements.txt ./
16
 
17
  RUN pip install -r requirements.txt --no-cache-dir
18
 
@@ -27,6 +25,8 @@ WORKDIR $HOME/app
27
 
28
  COPY --chown=user . $HOME/app
29
 
 
 
30
  # COPY models/checkpoints ./models/checkpoints
31
  # COPY core ./core
32
  # COPY data ./data
@@ -37,4 +37,4 @@ COPY --chown=user . $HOME/app
37
 
38
  # EXPOSE 7860
39
 
40
- CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
10
  tesseract-ocr \
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
+ COPY requirements.txt ./
 
 
14
 
15
  RUN pip install -r requirements.txt --no-cache-dir
16
 
 
25
 
26
  COPY --chown=user . $HOME/app
27
 
28
+ RUN git clone https://gitlab.com/abijithe61/yol-ov-4-tf-lite-for-generic-invoice-reader.git .
29
+
30
  # COPY models/checkpoints ./models/checkpoints
31
  # COPY core ./core
32
  # COPY data ./data
 
37
 
38
  # EXPOSE 7860
39
 
40
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]