Merge pull request 'fix: crear storage dirs antes de composer install segunda revision' (#1) from fix/storage-dirs into main

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-06-07 07:25:19 +00:00
+4 -4
View File
@@ -11,6 +11,10 @@ RUN echo "upload_max_filesize=50M" > /usr/local/etc/php/conf.d/uploads.ini \
WORKDIR /app
COPY . .
RUN mkdir -p storage/framework/sessions storage/framework/views storage/framework/cache storage/app/livewire-tmp storage/logs \
&& chmod -R 775 storage bootstrap/cache \
&& chown -R nobody:nginx storage bootstrap/cache
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer install --optimize-autoloader
@@ -21,10 +25,6 @@ RUN npm ci && \
VITE_REVERB_APP_KEY=fmoknd2swp3clsqfbdpg \
npm run build
RUN mkdir -p storage/framework/sessions storage/framework/views storage/framework/cache storage/app/livewire-tmp storage/logs \
&& chmod -R 775 storage bootstrap/cache \
&& chown -R nobody:nginx storage bootstrap/cache
RUN rm -rf public/storage && php artisan storage:link
COPY nginx.conf /etc/nginx/nginx.conf