1. 将原WorkService中的AutoDotCodeConsumer、RabbitMQHostedService、IQueueConsumer迁移至新的PrintWorker项目 2. 移除WorkService中冗余的PrintTool依赖文件复制配置 3. 将PrintToolV2.7相关资源移动到PrintWorker项目中统一管理 4. 从WorkService中移除AutoDotCodeConsumer的服务注册 5. 新增PrintWorker项目的完整宿主程序与配置文件
11 lines
241 B
Docker
11 lines
241 B
Docker
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
ENTRYPOINT ["dotnet", "QYZH.InteractiveMagazine.WorkService.dll"]
|