更新 Dockerfile: 添加调试命令以列出平台和后端目录内容,便于排查构建问题。

This commit is contained in:
2025-07-19 18:24:49 +08:00
parent a9034cd9fc
commit f1a0ddf58a

View File

@ -24,6 +24,7 @@ WORKDIR /app
COPY platform/ ./platform/
WORKDIR /app/platform
RUN npm install && npm run build
RUN ls -l /app/platform
# 安装 http-server
RUN npm install -g http-server
@ -33,6 +34,7 @@ WORKDIR /app/back
COPY back/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY back/ .
RUN ls -l /app/back
# supervisor 配置
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf