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
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"]

View File

@ -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"]

View File

@ -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