mirror of
https://github.com/cedar2025/Xboard.git
synced 2025-01-22 18:48:14 -05:00
Compare commits
2 Commits
635943e742
...
0de998dc25
Author | SHA1 | Date | |
---|---|---|---|
|
0de998dc25 | ||
|
64afb7845d |
@ -23,3 +23,4 @@ docker-compose.yml
|
||||
storage/laravels.conf
|
||||
storage/laravels.pid
|
||||
storage/laravels-timer-process.pid
|
||||
/frontend
|
||||
|
@ -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) \
|
||||
|
@ -159,7 +159,7 @@ class ThemeService
|
||||
throw new Exception('主题已存在');
|
||||
}
|
||||
|
||||
File::moveDirectory($sourcePath, $targetPath);
|
||||
File::copyDirectory($sourcePath, $targetPath);
|
||||
$this->initConfig($config['name']);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user