diff --git a/Dockerfile b/Dockerfile index 0479b5f9..e473931d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Main stage -FROM alpine:3.19.0 +FROM alpine:3.19.1 # JDK for app RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \ @@ -61,6 +61,8 @@ RUN mkdir -p /configs /logs /customFiles /pipeline/watchedFolders /pipeline/fin ## chown stirlingpdfuser:stirlingpdfgroup /app.jar && \ ## chmod +x /scripts/init.sh +EXPOSE 8080 + # Set user and run command ##USER stirlingpdfuser ENTRYPOINT ["tini", "--", "/scripts/init.sh"] diff --git a/Dockerfile-lite b/Dockerfile-lite index 5de060e6..f7dfa219 100644 --- a/Dockerfile-lite +++ b/Dockerfile-lite @@ -1,5 +1,5 @@ # use alpine -FROM alpine:3.19.0 +FROM alpine:3.19.1 ARG VERSION_TAG @@ -53,6 +53,8 @@ RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /et ENV ENDPOINTS_GROUPS_TO_REMOVE=OpenCV,OCRmyPDF ENV DOCKER_ENABLE_SECURITY=false +EXPOSE 8080 + # Run the application #USER stirlingpdfuser ENTRYPOINT ["tini", "--", "/scripts/init-without-ocr.sh"] diff --git a/Dockerfile-ultra-lite b/Dockerfile-ultra-lite index e01debb0..d602a361 100644 --- a/Dockerfile-ultra-lite +++ b/Dockerfile-ultra-lite @@ -1,5 +1,5 @@ # use alpine -FROM alpine:3.19.0 +FROM alpine:3.19.1 ARG VERSION_TAG @@ -43,6 +43,8 @@ RUN mkdir /configs /logs /customFiles && \ # Set environment variables ENV ENDPOINTS_GROUPS_TO_REMOVE=CLI +EXPOSE 8080 + ENTRYPOINT ["tini", "--", "/scripts/init-without-ocr.sh"] # Run the application