preserve user uploaded content #38

Merged
bilal.catic merged 2 commits from preserve-uploads-dir into master 2018-10-22 08:46:42 +02:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 37916e4931 - Show all commits

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