fix: create .env, run migrations, set up Winter CMS in Dockerfile
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run

This commit is contained in:
2026-08-21 20:18:05 -06:00
parent 84dc566b59
commit 3f2c2612d9

View File

@@ -29,11 +29,11 @@ COPY . .
RUN composer install --no-dev --optimize-autoloader --no-interaction
RUN php artisan winter:version 2>/dev/null || true
RUN php artisan key:generate --force 2>/dev/null || true
RUN chown -R www-data:www-data /var/www/html && \
RUN cp .env.example .env && \
php artisan key:generate --force && \
touch storage/database.sqlite && \
php artisan winter:up --force && \
chown -R www-data:www-data /var/www/html && \
chmod -R 755 /var/www/html && \
chmod -R 777 storage bootstrap/cache themes plugins