add rewrite rule to apache for frontend
This commit is contained in:
@@ -8,6 +8,8 @@ RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
||||
RUN apt-get install -y nodejs
|
||||
|
||||
COPY frontend /home/wiaas/frontend
|
||||
RUN a2enmod rewrite
|
||||
COPY docker/frontend/000-default.conf /etc/apache2/sites-available
|
||||
|
||||
WORKDIR /home/wiaas/frontend
|
||||
RUN npm install && npm rebuild node-sass --force && npm run build
|
||||
|
||||
Reference in New Issue
Block a user