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

@@ -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/