Fix: Removing publish from entrypoint

This commit is contained in:
2026-09-28 20:55:22 +03:00
parent ec9ac92a95
commit 03b46e7bfb
-8
View File
@@ -94,14 +94,6 @@ COPY . .
RUN chown -R www-data:www-data storage bootstrap/cache \
&& chmod -R 775 storage bootstrap/cache
# Publishes into THIS stage's public/ so nginx's own build stage below
# (COPY --from=production /var/www/html/public ...) picks them up too —
# nginx has no shared volume with app, so its public/ is otherwise frozen
# at whatever was last baked into its image.
RUN php artisan vendor:publish --tag=core-assets --force --ansi \
&& php artisan vendor:publish --tag=public --force --ansi \
&& php artisan filament:assets --ansi
COPY docker/entrypoint.sh /entrypoint.sh
COPY docker/entrypoint-worker.sh /entrypoint-worker.sh
RUN chmod +x /entrypoint.sh /entrypoint-worker.sh