change permalink, fix index page

This commit is contained in:
GotPPay
2018-06-18 17:01:37 +02:00
parent b5f87f27f8
commit d565b4f828
3 changed files with 4 additions and 4 deletions

View File

@@ -9,6 +9,6 @@ wooCommerce API key :
consumer secret : cs_e51bf71b6ce05fe9a0d17d3e4f249c2b6ec8cbd5
mysql :
user : wp_user
user : wp_admin
password : wp_password
database : wordpress

File diff suppressed because one or more lines are too long

View File

@@ -14,10 +14,10 @@ RUN a2enmod rewrite
COPY docker/php/apache2.conf /etc/apache2/
COPY backend /var/www/html
RUN rm /var/www/html/index.php
COPY frontend /home/wiaas/frontend
WORKDIR /home/wiaas/frontend
RUN npm rebuild node-sass --force
RUN npm install && npm run build
RUN npm install && npm rebuild node-sass --force && npm run build
RUN cp -r build/* /var/www/html/