e13574f6f1
- 添加 updateMessageCardsForPartialApprove 方法处理会签部分通过 - 会签一人通过后,其他人的消息卡片显示进度并保留按钮 - 修复 Dockerfile 构建顺序问题 - 修复前端类型定义问题 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
36 lines
744 B
Docker
36 lines
744 B
Docker
FROM php:8.5-cli
|
|
|
|
# Install system dependencies
|
|
RUN apt-get update && apt-get install -y \
|
|
unzip \
|
|
git \
|
|
libzip-dev \
|
|
libpng-dev \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install PHP extensions
|
|
RUN docker-php-ext-install zip pdo pdo_mysql bcmath pcntl
|
|
|
|
# Install Composer
|
|
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy composer files and necessary directories first
|
|
COPY composer.json composer.lock* ./
|
|
COPY config ./config/
|
|
|
|
# Install dependencies
|
|
RUN composer install --no-interaction --optimize-autoloader
|
|
|
|
# Copy remaining application files
|
|
COPY . .
|
|
|
|
# Expose port
|
|
EXPOSE 8787
|
|
|
|
# Start webman in foreground mode
|
|
CMD ["php", "start.php", "start"]
|