update dockerfile certificate permissions
All checks were successful
Build docker container / build (release) Successful in 49s
All checks were successful
Build docker container / build (release) Successful in 49s
This commit is contained in:
parent
a6391605f2
commit
0ecc019dc0
@ -42,9 +42,11 @@ RUN CERT_PASSWORD=$(cat $CERT_PASSWORD_FILE) \
|
||||
&& rm -rf $CONFIG_DIRECTORY \
|
||||
&& chmod 755 $ASPNETCORE_Kestrel__Certificates__Default__Path \
|
||||
&& chmod +x $ASPNETCORE_Kestrel__Certificates__Default__Path \
|
||||
&& chown app:app $ASPNETCORE_Kestrel__Certificates__Default__Path \
|
||||
&& cat $ASPNETCORE_Kestrel__Certificates__Default__Path >> /etc/ssl/certs/ca-certificates.crt \
|
||||
&& chmod 755 $ASPNETCORE_Kestrel__Certificates__Default__KeyPath \
|
||||
&& chmod +x $ASPNETCORE_Kestrel__Certificates__Default__KeyPath \
|
||||
&& chown app:app $ASPNETCORE_Kestrel__Certificates__Default__KeyPath \
|
||||
&& update-ca-certificates
|
||||
ENV ASPNETCORE_Kestrel__Certificates__Default__Password=$CERT_PASSWORD
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user