Skip to content

Commit

Permalink
gera nova imagem no docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandroJatai committed Jan 16, 2025
1 parent 19700bd commit d6fec32
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM leandrojatai/portalcmj:base.0002
FROM leandrojatai/portalcmj:base.0003

# TODO:
# A imagem gerada a partir deste dockerfile
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.Dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM leandrojatai/portalcmj:base.0002
FROM leandrojatai/portalcmj:base.0003

ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
Expand Down
7 changes: 1 addition & 6 deletions docker/Dockerfile.Pre
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
FROM python:3.12.7-bookworm

# TODO:
# A imagem gerada a partir deste dockerfile
# não pode ser compartilhada por conter o .env, portanto,
# uma refatoração seria necessária.

ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
Expand Down Expand Up @@ -50,7 +45,7 @@ ENV LIBRE_PACKAGES="libreoffice \
fontconfig"
RUN apt-get install -y -q $LIBRE_PACKAGES

ENV RUN2_PACKAGES openjdk-17-jdk-headless tesseract-ocr tesseract-ocr-por ghostscript
ENV RUN2_PACKAGES="openjdk-17-jdk-headless tesseract-ocr tesseract-ocr-por ghostscript"
RUN apt-get install -y --no-install-recommends $RUN2_PACKAGES

RUN mkdir /ghostscript
Expand Down
3 changes: 2 additions & 1 deletion requirements/ia-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
python-dotenv==1.0.1
-r requirements.txt

google-generativeai==0.8.3
6 changes: 3 additions & 3 deletions requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django==4.2.17
django==4.2.18
django-image-cropping==1.7.0
django-haystack==3.2.1
django-extensions==3.2.3
Expand Down Expand Up @@ -27,8 +27,8 @@ django-celery-results==2.5.1

git+https://github.com/LeandroJatai/celery-haystack.git

pymupdf==1.24.11
ocrmypdf==16.5.0
pymupdf==1.25.1
ocrmypdf==16.8.0
#pikepdf>=5.0.0,<6.0.0
trml2pdf
pypdf4==1.27.0
Expand Down

0 comments on commit d6fec32

Please sign in to comment.