Merge pull request 'update dockerfile for odc' (#13) from hotfix/odc-secretStorage-Permission into main

Reviewed-on: #13
This commit is contained in:
holzi1005 2024-12-11 09:40:59 +01:00
commit d66e9e707b

View file

@ -57,10 +57,11 @@ RUN echo "#!/bin/sh" > /docker-entrypoint-init.d/01-symfony.sh \
RUN wget https://github.com/H2-invent/open-datenschutzcenter/releases/download/${VERSION}/application.zip -O artifact.zip \ RUN wget https://github.com/H2-invent/open-datenschutzcenter/releases/download/${VERSION}/application.zip -O artifact.zip \
&& unzip artifact.zip \ && unzip artifact.zip \
&& mkdir data \
&& chown -R nobody secretStorage \
&& chown -R nobody public \ && chown -R nobody public \
&& chown -R nobody var \ && chown -R nobody data \
&& chmod -R 700 public \ && chown -R nobody var
&& chmod -R 700 var
RUN apk del unzip \ RUN apk del unzip \
&& rm artifact.zip \ && rm artifact.zip \