更新 Dockerfile: 添加调试命令以列出平台和后端目录内容,便于排查构建问题。
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user