fiddle with docker
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user