Skip to content

Commit

Permalink
opencart
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Jan 3, 2024
1 parent 383006b commit 5d67bff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/opencart/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ RUN curl -o opencart.zip -fL "https://github.com/opencart/opencart/releases/down
rm -rf opencart.zip opencart;\
mv $INSTALL_DIR/config-dist.php $INSTALL_DIR/config.php ; \
mv $INSTALL_DIR/admin/config-dist.php $INSTALL_DIR/admin/config.php ; \
chmod -R 777 /var/www

chown -R www-data:www-data /var/www/html ; \
find /var/www/html -type d -exec chmod 755 {} \; ;\
find /var/www/html -type f -exec chmod 644 {} \;

RUN sed -i "s/Options Indexes FollowSymLinks/Options FollowSymLinks/" /etc/apache2/apache2.conf

RUN { \
Expand Down

0 comments on commit 5d67bff

Please sign in to comment.