Fix permissions of TCoR volume in Docker container

This commit is contained in:
Hannes Braun 2023-01-31 18:53:41 +01:00
parent be415a8ee4
commit 14b212dcf8
Signed by: hannesbraun
GPG Key ID: 7B6557E1DFD685BE
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
FROM adoptopenjdk/openjdk11:alpine-jre
RUN addgroup -S spring && adduser -S spring -G spring
#RUN groupadd -r spring && useradd -r -g spring spring # for openjdk:xx builds
RUN mkdir /tcor && chown spring:spring /tcor
USER spring:spring
ARG JAR_FILE=build/libs/*.jar
COPY ${JAR_FILE} thecitadelofricks.jar