generated from boboko/starter
Fix: Removing publish from entrypoint
This commit is contained in:
@@ -94,14 +94,6 @@ COPY . .
|
|||||||
RUN chown -R www-data:www-data storage bootstrap/cache \
|
RUN chown -R www-data:www-data storage bootstrap/cache \
|
||||||
&& chmod -R 775 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.sh /entrypoint.sh
|
||||||
COPY docker/entrypoint-worker.sh /entrypoint-worker.sh
|
COPY docker/entrypoint-worker.sh /entrypoint-worker.sh
|
||||||
RUN chmod +x /entrypoint.sh /entrypoint-worker.sh
|
RUN chmod +x /entrypoint.sh /entrypoint-worker.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user