Compare commits

...

2 Commits

Author SHA1 Message Date
xboard
0de998dc25 fix: theme update
Some checks failed
Docker Build and Publish / build (push) Has been cancelled
2025-01-11 07:06:53 +08:00
xboard
64afb7845d chore(docker):add PHP ZIP extension 2025-01-11 05:28:43 +08:00
3 changed files with 3 additions and 2 deletions

View File

@ -23,3 +23,4 @@ docker-compose.yml
storage/laravels.conf
storage/laravels.pid
storage/laravels-timer-process.pid
/frontend

View File

@ -1,7 +1,7 @@
FROM phpswoole/swoole:php8.2-alpine
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions pcntl bcmath \
RUN install-php-extensions pcntl bcmath zip redis \
&& apk --no-cache add shadow sqlite mysql-client mysql-client mysql-dev mariadb-connector-c git patch supervisor redis \
&& addgroup -S -g 1000 www && adduser -S -G www -u 1000 www \
&& (getent group redis || addgroup -S redis) \

View File

@ -159,7 +159,7 @@ class ThemeService
throw new Exception('主题已存在');
}
File::moveDirectory($sourcePath, $targetPath);
File::copyDirectory($sourcePath, $targetPath);
$this->initConfig($config['name']);
return true;