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 \
|
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 \
|
||||||
|
|
Loading…
Reference in a new issue