fiddle with docker

This commit is contained in:
Codex Agent
2025-11-15 17:16:57 +01:00
parent 5348c5b137
commit 1604502b78

View File

@@ -94,6 +94,11 @@ COPY . .
COPY --from=vendor /var/www/html/vendor ./vendor COPY --from=vendor /var/www/html/vendor ./vendor
COPY --from=node_builder /var/www/html/public/build ./public/build COPY --from=node_builder /var/www/html/public/build ./public/build
RUN php artisan config:clear \
&& php artisan config:cache \
&& php artisan route:clear \
&& php artisan view:clear
RUN mkdir -p /opt/app \ RUN mkdir -p /opt/app \
&& rsync -a /var/www/html/ /opt/app/ \ && rsync -a /var/www/html/ /opt/app/ \
&& chown -R www-data:www-data /opt/app && chown -R www-data:www-data /opt/app