Skip to content

Commit

Permalink
build: 在应用目录下创建 .output 文件夹
Browse files Browse the repository at this point in the history
- 在 Dockerfile 中添加了创建 /app/.output 目录的步骤
- 这个修改为应用的构建和运行提供了必要的目录结构
  • Loading branch information
nexmoe committed Dec 4, 2024
1 parent f27cda1 commit 7ca1a30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ FROM dependency-base AS production-base
# Copy the source code
COPY . .

RUN mkdir -p /app/.output

# Build the application with verbose logging
RUN set -x && \
pnpm run build && \
Expand Down

0 comments on commit 7ca1a30

Please sign in to comment.