Merge pull request 'update dockerfile for odc' (#13) from hotfix/odc-secretStorage-Permission into main
Reviewed-on: #13
This commit is contained in:
commit
d66e9e707b
1 changed files with 4 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue