diff --git a/Dockerfile b/Dockerfile index b01cb6fe..954117e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN apk add --no-cache wget openssl curl cosign # && apt-get install -y wget \ # && rm -rf /var/lib/apt/lists/ -RUN mkdir -p /home/nobody/data/sd && mkdir -p /home/nobody/data/log/ecc +RUN mkdir -p /home/nobody/data/sd && mkdir -p /home/nobody/data/log/ecc && mkdir -p /.sigstore WORKDIR /home/nobody @@ -22,7 +22,7 @@ COPY target/dependency-jars /home/nobody/app/dependency-jars # Add the application's jar to the container ADD target/application.jar /home/nobody/app/application.jar -RUN chown -R nobody:nogroup /home/nobody +RUN chown -R nobody:nogroup /home/nobody && chown -R nobody:nogroup /.sigstore USER 65534