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 \
&& unzip artifact.zip \
&& mkdir data \
&& chown -R nobody secretStorage \
&& chown -R nobody public \
&& chown -R nobody var \
&& chmod -R 700 public \
&& chmod -R 700 var
&& chown -R nobody data \
&& chown -R nobody var
RUN apk del unzip \
&& rm artifact.zip \