Skip to content

Commit

Permalink
简化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
AkarinLiu committed Mar 25, 2024
1 parent 4ffcb68 commit 0ac60ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY php.ini /etc/php/8.2/apache2/php.ini
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
RUN composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
COPY init.sh /init.sh
ENTRYPOINT if [ -f /.installed ]; then exec /init.sh; else touch /.installed && exec /init.sh; fi
ENTRYPOINT if [ -f /.installed ]; then exec /init.sh && touch .installed; fi
RUN chown -R www-data:www-data /var/www/html
RUN chmod -R 755 /var/www/html
VOLUME [ "/var/www/html" ]
Expand Down

0 comments on commit 0ac60ab

Please sign in to comment.