Main brez modelov
This commit is contained in:
+6
-4
@@ -1,10 +1,12 @@
|
||||
FROM python:3.6-alpine
|
||||
FROM python:3.9
|
||||
|
||||
|
||||
RUN apt-get update && apt-get install python3-pil tesseract-ocr libtesseract-dev tesseract-ocr-eng tesseract-ocr-slv tesseract-ocr-script-latn ffmpeg libsm6 libxext6 libgl1 libmagic1 -y
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY requirements.txt /usr/src/app/
|
||||
|
||||
# RUN pip install --upgrade pip
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . /usr/src/app
|
||||
@@ -13,4 +15,4 @@ EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["python3"]
|
||||
|
||||
CMD ["-m", "swagger_server"]
|
||||
CMD ["-m", "swagger_server"]
|
||||
|
||||
Reference in New Issue
Block a user