update dockerfile for odc
This commit is contained in:
parent
92795d3494
commit
578f83b409
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