NoIssue: Fix for build, run and publish

This commit is contained in:
2026-02-01 19:17:45 +01:00
parent ff92f6c868
commit 5d179979f3
7 changed files with 16 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ WORKDIR nenjimkicker
RUN mkdir libs
# These dirs are expected to be overshadowed by host mounts
RUN mkdir conf logs
RUN mkdir conf logs && chown user:user logs
# Set timezone
ENV TZ=Europe/Copenhagen
@@ -29,14 +29,14 @@ RUN apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
# Install application and configuration (Do this as late as possible to be able to reuse layers between builds)
COPY start.sh .
COPY run.sh .
COPY conf/* conf/
COPY libs/*.jar libs/
RUN chmod 755 ./start.sh \
RUN chmod 755 ./run.sh \
&& chmod -R a+rX /usr/local/software/nenjimkicker-_VERSION_
USER user:user
CMD ["./start.sh"]
CMD ["./run.sh"]