3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-04 15:55:31 +00:00

Fix Dockerfile.alpine build error and snipeit runtime permission error (#9520)

This commit is contained in:
Dampfklon
2021-05-05 07:29:24 +02:00
committed by GitHub
parent 6c1553167d
commit 37f7768e7a

View File

@ -57,7 +57,7 @@ RUN \
&& mkdir -p "/var/lib/snipeit/dumps" && rm -r "/var/www/html/storage/app/backups" && ln -fs "/var/lib/snipeit/dumps" "/var/www/html/storage/app/backups" \
&& mkdir -p "/var/lib/snipeit/keys" && ln -fs "/var/lib/snipeit/keys/oauth-private.key" "/var/www/html/storage/oauth-private.key" \
&& ln -fs "/var/lib/snipeit/keys/oauth-public.key" "/var/www/html/storage/oauth-public.key" \
&& chown -h "/var/www/html/storage/*.key"
&& chown -hR apache "/var/www/html/storage/" \
&& chown -R apache "/var/lib/snipeit"
# Install composer