version bump and expose ports

This commit is contained in:
Anthony Stirling 2024-02-10 10:29:17 +00:00
parent 8a5883501a
commit e1c3561997
3 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# Main stage # Main stage
FROM alpine:3.19.0 FROM alpine:3.19.1
# JDK for app # JDK for app
RUN echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/main" | tee -a /etc/apk/repositories && \ 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 && \ ## chown stirlingpdfuser:stirlingpdfgroup /app.jar && \
## chmod +x /scripts/init.sh ## chmod +x /scripts/init.sh
EXPOSE 8080
# Set user and run command # Set user and run command
##USER stirlingpdfuser ##USER stirlingpdfuser
ENTRYPOINT ["tini", "--", "/scripts/init.sh"] ENTRYPOINT ["tini", "--", "/scripts/init.sh"]

View file

@ -1,5 +1,5 @@
# use alpine # use alpine
FROM alpine:3.19.0 FROM alpine:3.19.1
ARG VERSION_TAG 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 ENDPOINTS_GROUPS_TO_REMOVE=OpenCV,OCRmyPDF
ENV DOCKER_ENABLE_SECURITY=false ENV DOCKER_ENABLE_SECURITY=false
EXPOSE 8080
# Run the application # Run the application
#USER stirlingpdfuser #USER stirlingpdfuser
ENTRYPOINT ["tini", "--", "/scripts/init-without-ocr.sh"] ENTRYPOINT ["tini", "--", "/scripts/init-without-ocr.sh"]

View file

@ -1,5 +1,5 @@
# use alpine # use alpine
FROM alpine:3.19.0 FROM alpine:3.19.1
ARG VERSION_TAG ARG VERSION_TAG
@ -43,6 +43,8 @@ RUN mkdir /configs /logs /customFiles && \
# Set environment variables # Set environment variables
ENV ENDPOINTS_GROUPS_TO_REMOVE=CLI ENV ENDPOINTS_GROUPS_TO_REMOVE=CLI
EXPOSE 8080
ENTRYPOINT ["tini", "--", "/scripts/init-without-ocr.sh"] ENTRYPOINT ["tini", "--", "/scripts/init-without-ocr.sh"]
# Run the application # Run the application