-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMagento_Dockerfile
23 lines (16 loc) · 1006 Bytes
/
Magento_Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM alexcheng/magento2:2.1.1
COPY ./app/vendor/autoload.php /var/www/html/vendor/autoload.php
COPY ./app/vendor/snowdog /var/www/html/vendor/snowdog
COPY ./app/vendor/composer /var/www/html/vendor/composer
COPY ./app/etc /var/www/html/app/etc
COPY ./app/app/code/MagePal/GoogleTagManager /var/www/html/app/code/MagePal/GoogleTagManager
COPY ./app/app/code/WeltPixel /var/www/html/app/code/WeltPixel
#review controller
COPY ./app/app/code/Review/Controller /var/www/html/app/code/Magento/Review/Controller
#recommendation widget
COPY ./app/app/code/CatalogWidget /var/www/html/app/code/Magento/CatalogWidget
#widget 2
COPY ./app/app/code/NewProductWidget/content /var/www/html/app/code/Magento/Catalog/view/frontend/templates/product/widget/new/content
COPY ./app/app/code/NewProductWidget/NewProduct.php /var/www/html/app/code/Magento/Catalog/Block/Product/NewProduct.php
RUN chown -R www-data:www-data /var/www/html/app/etc
CMD chown -R www-data:www-data /var/www/html/pub/static && /sbin/my_init