same user
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -28,12 +28,12 @@ RUN apt-get update && \
|
|
28 |
#copy requirements
|
29 |
COPY requirements.txt .
|
30 |
RUN pip install --no-cache-dir -r requirements.txt
|
31 |
-
|
32 |
|
33 |
# Copy the application code
|
34 |
USER admin
|
35 |
|
36 |
-
|
37 |
|
38 |
COPY --chown=admin . /srv
|
39 |
|
|
|
28 |
#copy requirements
|
29 |
COPY requirements.txt .
|
30 |
RUN pip install --no-cache-dir -r requirements.txt
|
31 |
+
RUN pip install pytesseract && apt install -y tesseract-ocr
|
32 |
|
33 |
# Copy the application code
|
34 |
USER admin
|
35 |
|
36 |
+
|
37 |
|
38 |
COPY --chown=admin . /srv
|
39 |
|