This commit is contained in:
Almira Krdzic
2018-10-21 02:13:57 +02:00
parent a61edbc984
commit 5cbdb482f2
12 changed files with 36 additions and 120 deletions

View File

@@ -55,18 +55,8 @@ RUN a2enmod rewrite
RUN a2enmod headers
COPY docker/php/000-default.conf /etc/apache2/sites-available
COPY backend /home/wiaas/backend
WORKDIR /home/wiaas/backend/
RUN composer install --no-dev
WORKDIR /home/wiaas
RUN cp -r backend/* /var/www/html/
WORKDIR /var/www/html
RUN ln -s ../html api
RUN chown -R www-data:www-data /var/www/html
CMD /init-scripts/setup.sh