reorder image stacks

This commit is contained in:
GotPPay
2018-06-12 23:15:37 +02:00
parent f5866292e4
commit b9535ff004

View File

@@ -5,6 +5,11 @@ ENV REACT_APP_TEST_URL=http://localhost:8000/api-wiaas \
REACT_APP_DEV_URL=http://localhost:8000/api-wiaas
RUN apt-get update && apt-get install -y git unzip gnupg
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
RUN docker-php-ext-install pdo pdo_mysql mysqli
RUN a2enmod rewrite
COPY docker/php/apache2.conf /etc/apache2/
COPY docker/php/composer.phar /usr/local/bin/composer
@@ -20,14 +25,7 @@ RUN composer install
WORKDIR /home/wiaas
RUN cp -r api-wiaas /var/www/html/
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs
WORKDIR /home/wiaas/client-wiaas
RUN npm rebuild node-sass --force
RUN npm install && npm run build
RUN cp -r build/* /var/www/html/
RUN docker-php-ext-install pdo pdo_mysql mysqli
RUN a2enmod rewrite
RUN cp -r build/* /var/www/html/