This commit is contained in:
Almira Krdzic
2018-10-22 08:46:07 +02:00
parent a07b3fb7d9
commit 37916e4931
2 changed files with 4 additions and 2 deletions

View File

@@ -59,15 +59,15 @@ WORKDIR /home/wiaas/backend/
RUN composer install --no-dev
WORKDIR /home/wiaas
RUN rm -rf backend/app/uploads
RUN cp -r backend/* /var/www/html/
WORKDIR /var/www/html
RUN ln -s ../html api
COPY docker/php/.htaccess /var/www/html/
COPY docker/php/.htaccess /var/www/html/
RUN chown -R www-data:www-data /var/www/html
RUN chmod -R 755 /var/www/html/app/uploads
CMD /init-scripts/setup.sh

View File

@@ -34,5 +34,7 @@ EOF
echo "Done"
chown -R www-data:www-data /var/www/html/app/uploads
#start image
exec apache2-foreground