update Dockerfile and .gitignore for improved permissions and organization
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
ExtraNetwork
2026-05-13 13:38:14 +03:00
parent 2101a917fe
commit 404445fed4
2 changed files with 4 additions and 9 deletions

View File

@@ -45,24 +45,19 @@ COPY vhost.conf /etc/apache2/sites-available/000-default.conf
WORKDIR /var/www/html
# Laravel/Lumen gerekli klasörleri
RUN mkdir -p \
/var/www/html/storage/logs \
/var/www/html/storage/framework/cache \
/var/www/html/storage/framework/cache/data \
/var/www/html/storage/framework/sessions \
/var/www/html/storage/framework/views \
/var/www/html/bootstrap/cache \
/home/uploads \
&& chown -R www-data:www-data \
/var/www/html/storage \
/var/www/html/bootstrap/cache \
/home/uploads \
&& chmod -R 775 \
&& chmod -R 777 \
/var/www/html/storage \
/var/www/html/bootstrap/cache \
/home/uploads
# Runtime permission düzeltme scripti
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN chmod +x /usr/local/bin/docker-entrypoint.sh